diff options
Diffstat (limited to 'tests/spirv/debug-local-variable-scope.slang')
| -rw-r--r-- | tests/spirv/debug-local-variable-scope.slang | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/spirv/debug-local-variable-scope.slang b/tests/spirv/debug-local-variable-scope.slang deleted file mode 100644 index 22f6aef2e..000000000 --- a/tests/spirv/debug-local-variable-scope.slang +++ /dev/null @@ -1,21 +0,0 @@ -//TEST:SIMPLE(filecheck=CHECK):-target spirv -entry main -stage fragment -g2 -emit-spirv-directly - -Texture2D testTex : register(t0); -SamplerState testSampler : register(s0); - -struct PSIn -{ - float4 pos : SV_Position; -}; - -float4 main(PSIn input) : SV_TARGET -{ - uint4 testPos = input.pos; - float bias = -1.0; - float2 tc = testPos.xy / 32.0; - float4 colVal = testTex.SampleBias(testSampler, tc, bias); - return float4(colVal.xyz, 1.0); -} - -// CHECK: %[[FUNC_ID:[0-9]+]] = OpExtInst %void {{.*}} DebugFunction %{{[0-9]+}} -// CHECK: DebugLocalVariable %{{[0-9]+}} %{{[0-9]+}} %{{[0-9]+}} %{{.*}} %{{.*}} %[[FUNC_ID]] |
