summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/gfx-test-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/gfx-test-util.cpp')
-rw-r--r--tools/gfx-unit-test/gfx-test-util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfx-unit-test/gfx-test-util.cpp b/tools/gfx-unit-test/gfx-test-util.cpp
index c95c3d0e5..1133e3842 100644
--- a/tools/gfx-unit-test/gfx-test-util.cpp
+++ b/tools/gfx-unit-test/gfx-test-util.cpp
@@ -57,7 +57,7 @@ namespace gfx_test
slangReflection = composedProgram->getLayout();
gfx::IShaderProgram::Desc programDesc = {};
- programDesc.slangProgram = composedProgram.get();
+ programDesc.slangGlobalScope = composedProgram.get();
auto shaderProgram = device->createProgram(programDesc);
@@ -105,7 +105,7 @@ namespace gfx_test
slangReflection = composedProgram->getLayout();
gfx::IShaderProgram::Desc programDesc = {};
- programDesc.slangProgram = composedProgram.get();
+ programDesc.slangGlobalScope = composedProgram.get();
auto shaderProgram = device->createProgram(programDesc);