dawn-cmake/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.wgsl
Ben Clayton 6c33dce75a tint/test/builtins/gen: Fix i32 argument values
These were incorrectly abstract-int, instead of i32. Oops.

Change-Id: Iafac4883ee431b04fb473392f545ae26436f8343
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106885
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-10-25 13:08:45 +00:00

22 lines
385 B
WebGPU Shading Language

@group(1) @binding(0) var arg_0 : texture_storage_1d<rg32uint, write>;
fn textureStore_83bcc1() {
textureStore(arg_0, 1i, vec4<u32>());
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
textureStore_83bcc1();
return vec4<f32>();
}
@fragment
fn fragment_main() {
textureStore_83bcc1();
}
@compute @workgroup_size(1)
fn compute_main() {
textureStore_83bcc1();
}