dawn-cmake/test/tint/builtins/gen/var/textureSample/6e64fb.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

28 lines
450 B
GLSL

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