mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 03:05:42 +00:00
Also ensure correct paramter ordering: bias is always after offset. Bug: tint:1351 Change-Id: I41ee66b86cd9d912f3857e5377b660c50d035c6e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73720 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
20 lines
290 B
GLSL
20 lines
290 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
uniform highp sampler2DArray arg_0;
|
|
|
|
|
|
void textureSample_8522e7() {
|
|
float res = textureOffset(arg_0, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)).x;
|
|
}
|
|
|
|
void fragment_main() {
|
|
textureSample_8522e7();
|
|
return;
|
|
}
|
|
void main() {
|
|
fragment_main();
|
|
}
|
|
|
|
|