summaryrefslogtreecommitdiff
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-841.slang4
-rw-r--r--tests/bugs/vk-structured-buffer-load.hlsl5
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/bugs/gh-841.slang b/tests/bugs/gh-841.slang
index ba746984b..5f7e0c81f 100644
--- a/tests/bugs/gh-841.slang
+++ b/tests/bugs/gh-841.slang
@@ -11,8 +11,8 @@ struct RasterVertex
float4 c : COLOR;
// Make sure that the input value in location 1 is decorated as Flat
- // SPV-DAG: [[VAL:%[_A-Za-z0-9]+]] = OpVariable {{.*}} Input
- // SPV-DAG: OpDecorate [[VAL]] Location 1
+ // SPV-DAG: OpDecorate [[VAL:%[_A-Za-z0-9]+]] Location 1
+ // SPV-DAG: [[VAL]] = OpVariable {{.*}} Input
// SPV-DAG: OpDecorate [[VAL]] Flat
//
// Likewise for GLSL
diff --git a/tests/bugs/vk-structured-buffer-load.hlsl b/tests/bugs/vk-structured-buffer-load.hlsl
index d9e54d925..ac8a86a5c 100644
--- a/tests/bugs/vk-structured-buffer-load.hlsl
+++ b/tests/bugs/vk-structured-buffer-load.hlsl
@@ -1,4 +1,9 @@
//TEST:CROSS_COMPILE: -profile glsl_460+GL_NV_ray_tracing -entry HitMain -stage closesthit -target spirv-assembly
+//TEST:SIMPLE(filecheck=DXIL): -target dxil -entry HitMain -stage closesthit -profile sm_6_5
+//TEST:SIMPLE(filecheck=SPV): -target spirv
+
+// DXIL: define void @
+// SPV: OpEntryPoint
#define USE_RCP 0