summaryrefslogtreecommitdiffstats
path: root/tests/spirv
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2025-01-17 08:56:23 -0800
committerGitHub <noreply@github.com>2025-01-17 08:56:23 -0800
commite743c17f72ab332f7eb467f02dd9567f3f8d3de0 (patch)
tree73a3e9bda58cfff408d813fa34f24cd252121fde /tests/spirv
parent3666c66e26f90b10031578e9c8b8f2ea118aecf9 (diff)
Fix `-capability` arg in SPIRV debug command line output. (#6114)
Diffstat (limited to 'tests/spirv')
-rw-r--r--tests/spirv/cmd-arg-debug-info.slang5
1 files changed, 5 insertions, 0 deletions
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