mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 19:25:47 +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
275 B
GLSL
20 lines
275 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
uniform highp sampler2D arg_0;
|
|
|
|
|
|
void textureSample_667d76() {
|
|
float res = textureOffset(arg_0, vec2(0.0f, 0.0f), ivec2(0, 0)).x;
|
|
}
|
|
|
|
void fragment_main() {
|
|
textureSample_667d76();
|
|
return;
|
|
}
|
|
void main() {
|
|
fragment_main();
|
|
}
|
|
|
|
|