diff options
Diffstat (limited to 'tests/bugs/branch-switch-attribute.slang')
| -rw-r--r-- | tests/bugs/branch-switch-attribute.slang | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/bugs/branch-switch-attribute.slang b/tests/bugs/branch-switch-attribute.slang index 761b80e9e..5fe82b7e4 100644 --- a/tests/bugs/branch-switch-attribute.slang +++ b/tests/bugs/branch-switch-attribute.slang @@ -1,9 +1,11 @@ -//TEST:SIMPLE(filecheck=CHECK): -target hlsl -profile cs_5_0 -entry computeMain +//TEST:SIMPLE(filecheck=HLSL): -target hlsl -profile cs_5_0 -entry computeMain +//TEST:SIMPLE(filecheck=SPIRV): -target spirv -O0 //TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name outputBuffer RWStructuredBuffer<int> outputBuffer; -// CHECK: [branch] +// HLSL: [branch] +// SPIRV: OpSelectionMerge {{.*}} DontFlatten [numthreads(4, 1, 1)] void computeMain(int3 dispatchThreadID : SV_DispatchThreadID) |
