diff options
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; |
