From 6aca3813c4ccc496c0f9b2db293acb546aa11d2d Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 1 Nov 2023 21:42:12 -0700 Subject: Parameter binding and gfx fixes. (#3302) * Parameter binding and gfx fixes. * Add diagnostics on entry point parameters. * Fix. --------- Co-authored-by: Yong He --- tools/gfx-unit-test/nested-parameter-block.cpp | 3 --- tools/gfx-unit-test/root-shader-parameter.cpp | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'tools/gfx-unit-test') diff --git a/tools/gfx-unit-test/nested-parameter-block.cpp b/tools/gfx-unit-test/nested-parameter-block.cpp index 907b4c868..758fc42f5 100644 --- a/tools/gfx-unit-test/nested-parameter-block.cpp +++ b/tools/gfx-unit-test/nested-parameter-block.cpp @@ -145,11 +145,8 @@ namespace gfx_test runTestImpl(nestedParameterBlockTestImpl, unitTestContext, Slang::RenderApiFlag::D3D12); } - // TODO: Vulkan's PipelineLayout creation logic is still wrong. -#if 0 SLANG_UNIT_TEST(nestedParameterBlockTestVulkan) { runTestImpl(nestedParameterBlockTestImpl, unitTestContext, Slang::RenderApiFlag::Vulkan); } -#endif } diff --git a/tools/gfx-unit-test/root-shader-parameter.cpp b/tools/gfx-unit-test/root-shader-parameter.cpp index b13935c11..1a7be91c4 100644 --- a/tools/gfx-unit-test/root-shader-parameter.cpp +++ b/tools/gfx-unit-test/root-shader-parameter.cpp @@ -131,4 +131,9 @@ namespace gfx_test { runTestImpl(rootShaderParameterTestImpl, unitTestContext, Slang::RenderApiFlag::D3D12); } + + SLANG_UNIT_TEST(rootShaderParameterVulkan) + { + runTestImpl(rootShaderParameterTestImpl, unitTestContext, Slang::RenderApiFlag::Vulkan); + } } -- cgit v1.2.3