mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 11:45:54 +00:00
Fixed: tint:1183 Change-Id: I06c8faf37218c58836c2a30d2b1e89abf8dc2be8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108643 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
16 lines
254 B
GLSL
16 lines
254 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
layout(location = 0) out vec4 value;
|
|
uniform highp sampler2D t_s;
|
|
|
|
vec4 f() {
|
|
return textureOffset(t_s, vec2(0.0f), ivec2(4, 6));
|
|
}
|
|
|
|
void main() {
|
|
vec4 inner_result = f();
|
|
value = inner_result;
|
|
return;
|
|
}
|