dawn-cmake/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.fxc.hlsl
Ben Clayton 2e376a9bb0 tint/intrinsics: Allow mixing of signed / unsigned integer arguments
Fixed: tint:1733
Change-Id: Id83c5c5a59df062320a9a9fde087a34b85fbaa2a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107160
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-10-26 18:47:02 +00:00

33 lines
601 B
HLSL

RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureStore_0a1a79() {
arg_0[uint3(0u, 0u, uint(1))] = (0u).xxxx;
}
struct tint_symbol {
float4 value : SV_Position;
};
float4 vertex_main_inner() {
textureStore_0a1a79();
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_0a1a79();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
textureStore_0a1a79();
return;
}