dawn-cmake/test/tint/builtins/gen/var/textureSample/4dd1bf.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
506 B
GLSL

SKIP: FAILED
#version 310 es
precision mediump float;
uniform highp samplerCubeArray arg_0_arg_1;
void textureSample_4dd1bf() {
vec3 arg_2 = vec3(0.0f);
int arg_3 = 1;
vec4 res = texture(arg_0_arg_1, vec4(arg_2, float(arg_3)));
}
void fragment_main() {
textureSample_4dd1bf();
}
void main() {
fragment_main();
return;
}
Error parsing GLSL shader:
ERROR: 0:4: 'samplerCubeArray' : Reserved word.
ERROR: 0:4: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.