From b8982fcf43b86c1e39dcc3dd19bff2821633eda6 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 9 Feb 2022 15:30:38 -0800 Subject: Various fixes to gfx. (#2120) * Various fixes to gfx. * Fix. * Fixes. * Fix. Co-authored-by: Yong He --- tools/gfx-unit-test/gfx-test-util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/gfx-unit-test/gfx-test-util.cpp') 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); -- cgit v1.2.3