summaryrefslogtreecommitdiff
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-3085.slang4
-rw-r--r--tests/bugs/gh-841.slang6
-rw-r--r--tests/bugs/interlocked-add-uint-int.slang4
-rw-r--r--tests/bugs/texture-array-samplecmplevelzero.slang2
4 files changed, 8 insertions, 8 deletions
diff --git a/tests/bugs/gh-3085.slang b/tests/bugs/gh-3085.slang
index 9250d501d..86992aec6 100644
--- a/tests/bugs/gh-3085.slang
+++ b/tests/bugs/gh-3085.slang
@@ -1,5 +1,5 @@
//TEST:SIMPLE(filecheck=CHECK): -entry MainCs -stage compute -profile glsl_450 -target spirv
-//CHECK: EntryPoint
+//CHECK: OpEntryPoint
RWTexture2D<float4> g_Test;
@@ -26,4 +26,4 @@ void MainCs(uint3 groupID: SV_GroupID, uint3 groupThreadID: SV_GroupThreadID)
// color+= LoadSourceColor ( pixelPos , int2 ( i%3 , i/3 ) , msaaSampleIndex ) . rgb ;
//}
g_Test[int2(pixelPos.x / 2, pixelPos.y + 0)] = float4(color, 1.0);
-} \ No newline at end of file
+}
diff --git a/tests/bugs/gh-841.slang b/tests/bugs/gh-841.slang
index 8dc687e77..0608023e5 100644
--- a/tests/bugs/gh-841.slang
+++ b/tests/bugs/gh-841.slang
@@ -12,9 +12,9 @@ struct RasterVertex
float4 c : COLOR;
// Make sure that the input value in location 1 is decorated as Flat
- // SPV-DAG: [[#VAL:]]{{.*}}:{{.*}} Variable Input
- // SPV-DAG: Decorate [[#VAL]]{{.*}} Location 1
- // SPV-DAG: Decorate [[#VAL]]{{.*}} Flat
+ // SPV-DAG: [[VAL:%[_A-Za-z0-9]+]] = OpVariable {{.*}} Input
+ // SPV-DAG: OpDecorate [[VAL]] Location 1
+ // SPV-DAG: OpDecorate [[VAL]] Flat
//
// Likewise for GLSL
// GLSL: flat layout(location = 1)
diff --git a/tests/bugs/interlocked-add-uint-int.slang b/tests/bugs/interlocked-add-uint-int.slang
index 10baa7f17..4396a3dc5 100644
--- a/tests/bugs/interlocked-add-uint-int.slang
+++ b/tests/bugs/interlocked-add-uint-int.slang
@@ -1,5 +1,5 @@
//TEST:SIMPLE(filecheck=CHECK): -target spirv -profile glsl_450 -stage compute -entry MainCs -line-directive-mode none
-//CHECK: {{.*}} AtomicIAdd
+//CHECK: {{.*}} OpAtomicIAdd
RWBuffer<uint> g_InterlockTest;
[numthreads(1,1,1)]
@@ -16,4 +16,4 @@ void MainCs( uint2 dispatchThreadID : SV_DispatchThreadID, uint2 groupThreadID :
{
InterlockedAdd( g_InterlockTest[ 0 ], -int(nVertexCount) );
}
-} \ No newline at end of file
+}
diff --git a/tests/bugs/texture-array-samplecmplevelzero.slang b/tests/bugs/texture-array-samplecmplevelzero.slang
index 6176f74dc..c8afba603 100644
--- a/tests/bugs/texture-array-samplecmplevelzero.slang
+++ b/tests/bugs/texture-array-samplecmplevelzero.slang
@@ -1,5 +1,5 @@
//TEST_DISABLED:SIMPLE(filecheck=CHECK): -entry MainPs -stage fragment -profile glsl_450 -target spirv
-//CHECK: EntryPoint
+//CHECK: OpEntryPoint
SamplerComparisonState g_tSFMShadowDepthTexture_sampler;
Texture2DArray g_tSFMShadowDepthTexture;