dawn-cmake/test/tint/builtins/gen/literal/textureSample/4703d0.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

13 lines
270 B
WebGPU Shading Language

@group(1) @binding(0) var arg_0 : texture_depth_2d_array;
@group(1) @binding(1) var arg_1 : sampler;
fn textureSample_4703d0() {
var res : f32 = textureSample(arg_0, arg_1, vec2<f32>(), 1u, vec2<i32>());
}
@fragment
fn fragment_main() {
textureSample_4703d0();
}