dawn-cmake/test/tint/bug/tint/1183.wgsl.expected.wgsl
Ben Clayton 279864c774 test/tint: Show that tint:1183 is fixed
Fixed: tint:1183
Change-Id: I06c8faf37218c58836c2a30d2b1e89abf8dc2be8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108643
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2022-11-04 17:49:47 +00:00

9 lines
215 B
WebGPU Shading Language

@binding(0) @group(0) var t : texture_2d<f32>;
@binding(0) @group(1) var s : sampler;
@fragment
fn f() -> @location(0) vec4<f32> {
return textureSample(t, s, vec2<f32>(), (vec2<i32>(1, 2) + vec2<i32>(3, 4)));
}