summaryrefslogtreecommitdiffstats
path: root/unityplugin/GhostCubeScene/src
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-10-19 18:15:02 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-10-19 18:15:02 +0000
commit29714c5261f82dd836e27290d30240defb8f00ad (patch)
tree39cc4af7953f8ee91f3d6f985c0c94098f98c4ec /unityplugin/GhostCubeScene/src
parentPSO creation refactoring (API240075) (diff)
downloadDiligentEngine-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.cpp6
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;