From e743c17f72ab332f7eb467f02dd9567f3f8d3de0 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 17 Jan 2025 08:56:23 -0800 Subject: Fix `-capability` arg in SPIRV debug command line output. (#6114) --- tests/spirv/cmd-arg-debug-info.slang | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/spirv/cmd-arg-debug-info.slang (limited to 'tests') diff --git a/tests/spirv/cmd-arg-debug-info.slang b/tests/spirv/cmd-arg-debug-info.slang new file mode 100644 index 000000000..da5cebad0 --- /dev/null +++ b/tests/spirv/cmd-arg-debug-info.slang @@ -0,0 +1,5 @@ +//TEST:SIMPLE(filecheck=CHECK): -target spirv -g3 -emit-spirv-directly -profile sm_6_6+spirv_1_5 +// CHECK: OpString "-target spirv {{.*}} -capability spirv_1_5 +[numthreads(1,1,1)] +void computeMain() +{} \ No newline at end of file -- cgit v1.2.3