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

21 lines
379 B
GLSL

#version 310 es
precision mediump float;
uniform highp sampler2DArrayShadow arg_0_arg_1;
void textureSampleCompare_90ae56() {
vec2 arg_2 = vec2(0.0f);
uint arg_3 = 1u;
float arg_4 = 1.0f;
float res = texture(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), arg_4));
}
void fragment_main() {
textureSampleCompare_90ae56();
}
void main() {
fragment_main();
return;
}