dawn-cmake/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.fxc.hlsl
Ben Clayton 3a431d71be tint/intrinsics.def: Fix textureStore overload
The texture_storage_3d overload should allow for unsigned coordinates.

Change-Id: I6278571fb9dc7bba644a4ba88cce6b8bd7c790bf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122521
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
2023-03-04 00:43:21 +00:00

33 lines
582 B
HLSL

RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureStore_d4aa95() {
arg_0[(1u).xxx] = (1u).xxxx;
}
struct tint_symbol {
float4 value : SV_Position;
};
float4 vertex_main_inner() {
textureStore_d4aa95();
return (0.0f).xxxx;
}
tint_symbol vertex_main() {
const float4 inner_result = vertex_main_inner();
tint_symbol wrapper_result = (tint_symbol)0;
wrapper_result.value = inner_result;
return wrapper_result;
}
void fragment_main() {
textureStore_d4aa95();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
textureStore_d4aa95();
return;
}