dawn-cmake/test/tint/builtins/gen/literal/textureSample/6e64fb.wgsl.expected.glsl
Stephen White 1d04cf841c Enable the 1D -> 2D texture transform in GLSL writer.
Fix unit and WGSL test results.

Bug: dawn:1301
Change-Id: Idfe046bdb211c8db9724e02c2f9dfb12d04d5c2a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114800
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2023-01-07 17:19:21 +00:00

18 lines
263 B
GLSL

#version 310 es
precision mediump float;
uniform highp sampler2D arg_0_arg_1;
void textureSample_6e64fb() {
vec4 res = texture(arg_0_arg_1, vec2(1.0f, 0.5f));
}
void fragment_main() {
textureSample_6e64fb();
}
void main() {
fragment_main();
return;
}