diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-10-19 18:15:02 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-10-19 18:15:02 +0000 |
| commit | 29714c5261f82dd836e27290d30240defb8f00ad (patch) | |
| tree | 39cc4af7953f8ee91f3d6f985c0c94098f98c4ec /unityplugin/GhostCubeScene/src | |
| parent | PSO creation refactoring (API240075) (diff) | |
| download | DiligentEngine-29714c5261f82dd836e27290d30240defb8f00ad.tar.gz DiligentEngine-29714c5261f82dd836e27290d30240defb8f00ad.zip | |
Renamed static samplers to immutable samplers (API240076)
Diffstat (limited to 'unityplugin/GhostCubeScene/src')
| -rw-r--r-- | unityplugin/GhostCubeScene/src/GhostCubeScene.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp index 8586090..b806300 100644 --- a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp +++ b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp @@ -129,12 +129,12 @@ void GhostCubeScene::OnGraphicsInitialized() } PSODesc.ResourceLayout.DefaultVariableType = SHADER_RESOURCE_VARIABLE_TYPE_STATIC; - StaticSamplerDesc StaticSamplers[] = + ImmutableSamplerDesc ImtblSamplers[] = { {SHADER_TYPE_PIXEL, "g_tex2Reflection", Sam_Aniso4xClamp} }; - PSODesc.ResourceLayout.StaticSamplers = StaticSamplers; - PSODesc.ResourceLayout.NumStaticSamplers = _countof(StaticSamplers); + PSODesc.ResourceLayout.ImmutableSamplers = ImtblSamplers; + PSODesc.ResourceLayout.NumImmutableSamplers = _countof(ImtblSamplers); PSOCreateInfo.pVS = pVS; PSOCreateInfo.pPS = pPS; |
