diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/gfx-unit-test/precompiled-module-2.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/gfx-unit-test/precompiled-module-2.cpp b/tools/gfx-unit-test/precompiled-module-2.cpp index 93b9d1b89..e8ceb6f45 100644 --- a/tools/gfx-unit-test/precompiled-module-2.cpp +++ b/tools/gfx-unit-test/precompiled-module-2.cpp @@ -43,6 +43,9 @@ namespace gfx_test case gfx::DeviceType::DirectX12: target = SLANG_DXIL; break; + case gfx::DeviceType::Vulkan: + target = SLANG_SPIRV; + break; default: return SLANG_FAIL; } @@ -208,4 +211,9 @@ namespace gfx_test runTestImpl(precompiledModule2TestImpl, unitTestContext, Slang::RenderApiFlag::Vulkan); } + SLANG_UNIT_TEST(precompiledTargetModule2Vulkan) + { + runTestImpl(precompiledTargetModule2TestImpl, unitTestContext, Slang::RenderApiFlag::Vulkan); + } + } |
