dawn-cmake/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.wgsl
Ben Clayton da5424b617 tint: Allow signed / unsigned texture builtin params
Bug: tint:1526
Change-Id: I301a9ba6e94b162a1ffb436be3e3212b723b7401
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106682
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-10-24 23:58:53 +00:00

22 lines
407 B
WebGPU Shading Language

@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba16float, write>;
fn textureStore_a0f96e() {
textureStore(arg_0, vec2<u32>(), 1u, vec4<f32>());
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
textureStore_a0f96e();
return vec4<f32>();
}
@fragment
fn fragment_main() {
textureStore_a0f96e();
}
@compute @workgroup_size(1)
fn compute_main() {
textureStore_a0f96e();
}