dawn-cmake/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.glsl
Ben Clayton c0af5c5c9c tint: Add builtin tests for arguments passed by var
Change-Id: I81b69d23e40675d7f525e6369afec9aa0659d043
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92321
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-02 14:36:10 +00:00

29 lines
580 B
GLSL

SKIP: FAILED
#version 310 es
precision mediump float;
uniform highp sampler2DArrayShadow arg_0_arg_1;
void textureSample_60bf45() {
vec2 arg_2 = vec2(0.0f);
int arg_3 = 1;
float res = textureOffset(arg_0_arg_1, vec4(vec3(arg_2, float(arg_3)), 0.0f), ivec2(0));
}
void fragment_main() {
textureSample_60bf45();
}
void main() {
fragment_main();
return;
}
Error parsing GLSL shader:
ERROR: 0:9: 'sampler' : TextureOffset does not support sampler2DArrayShadow : ES Profile
ERROR: 0:9: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.