From beae3a9d219dac1e4e3da9c357b25d06370388f3 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 19 Apr 2024 21:02:32 -0700 Subject: Add metal downstream compiler + metallib target. (#3990) * Add metal downstream compiler + metallib target. * Add more comments. * Add missing override. --- tools/slang-test/slang-test-main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/slang-test/slang-test-main.cpp') diff --git a/tools/slang-test/slang-test-main.cpp b/tools/slang-test/slang-test-main.cpp index cb77c8830..eca103339 100644 --- a/tools/slang-test/slang-test-main.cpp +++ b/tools/slang-test/slang-test-main.cpp @@ -987,6 +987,12 @@ static PassThroughFlags _getPassThroughFlagsForTarget(SlangCompileTarget target) return PassThroughFlag::Dxc; } + case SLANG_METAL_LIB: + case SLANG_METAL_LIB_ASM: + { + return PassThroughFlag::Metal; + } + case SLANG_SHADER_HOST_CALLABLE: case SLANG_HOST_HOST_CALLABLE: -- cgit v1.2.3