diff options
Diffstat (limited to 'tests/cross-compile')
| -rw-r--r-- | tests/cross-compile/texture-load.slang | 4 |
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) { |
