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

16 lines
358 B
WebGPU Shading Language

@group(1) @binding(0) var arg_0 : texture_depth_2d_array;
@group(1) @binding(1) var arg_1 : sampler_comparison;
fn textureSampleCompare_dd431d() {
var arg_2 = vec2<f32>();
var arg_3 = 1i;
var arg_4 = 1.0f;
var res : f32 = textureSampleCompare(arg_0, arg_1, arg_2, arg_3, arg_4);
}
@fragment
fn fragment_main() {
textureSampleCompare_dd431d();
}