summaryrefslogtreecommitdiffstats
path: root/tests/cross-compile
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-10-09 12:18:19 -0700
committerGitHub <noreply@github.com>2024-10-09 12:18:19 -0700
commitb8aab84e2c4c3e6d91d75ffcebfcc2f6e84da01c (patch)
tree79207c563a1142bad97547c873d73d084f8748b6 /tests/cross-compile
parent1bbc421a663bd494cc1a4dd097852553049cc1d5 (diff)
Use user defined type name in glsl buffer declarations. (#5242)
Diffstat (limited to 'tests/cross-compile')
-rw-r--r--tests/cross-compile/texture-load.slang4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cross-compile/texture-load.slang b/tests/cross-compile/texture-load.slang
index 71f22b13a..167db7831 100644
--- a/tests/cross-compile/texture-load.slang
+++ b/tests/cross-compile/texture-load.slang
@@ -3,7 +3,7 @@
// Confirm that texture `Load` operations yield the
// expected type when compiled to SPIR-V.
-//TEST:CROSS_COMPILE:-target spirv-assembly -entry main -stage compute
+//TEST:SIMPLE(filecheck=CHECK):-target spirv-assembly -entry main -stage compute -emit-spirv-via-glsl
Texture2D<float2> inputTexture;
RWTexture2D<float2> outputTexture;
@@ -13,6 +13,8 @@ cbuffer C
int2 pos;
}
+// CHECK: OpImageWrite
+
[numthreads(16, 16, 1)]
void main(uint2 pixelIndex : SV_DispatchThreadID)
{