dawn-cmake/test/tint/builtins/gen/literal/textureSample/0dff6c.wgsl.expected.glsl
Ben Clayton 4b60615eae test/tint: Fix e2e test generation for vec / mat
Where the intrinsic uses the fixed-dimension form of the types.

Change-Id: I1709382f762fe7394bbd88f428f09b15a1a8a643
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108642
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
2022-11-04 17:06:03 +00:00

18 lines
292 B
GLSL

#version 310 es
precision mediump float;
uniform highp sampler2DShadow arg_0_arg_1;
void textureSample_0dff6c() {
float res = textureOffset(arg_0_arg_1, vec3(vec2(1.0f), 0.0f), ivec2(1));
}
void fragment_main() {
textureSample_0dff6c();
}
void main() {
fragment_main();
return;
}