From 29714c5261f82dd836e27290d30240defb8f00ad Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 19 Oct 2020 11:15:02 -0700 Subject: Renamed static samplers to immutable samplers (API240076) --- unityplugin/GhostCubeScene/src/GhostCubeScene.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unityplugin/GhostCubeScene/src') 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; -- cgit v1.2.3