dawn-cmake/test/tint/builtins/gen/var/textureStore/3bb7a1.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

25 lines
467 B
WebGPU Shading Language

@group(1) @binding(0) var arg_0 : texture_storage_2d_array<r32float, write>;
fn textureStore_3bb7a1() {
var arg_1 = vec2<i32>();
var arg_2 = 1i;
var arg_3 = vec4<f32>();
textureStore(arg_0, arg_1, arg_2, arg_3);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
textureStore_3bb7a1();
return vec4<f32>();
}
@fragment
fn fragment_main() {
textureStore_3bb7a1();
}
@compute @workgroup_size(1)
fn compute_main() {
textureStore_3bb7a1();
}