mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-20 10:18:39 +00:00
f0e35bf0ef
Desktop defaults to highp for samplers, but this should not apply to the built-in functions, so make it appy only to user declarations.
17 lines
250 B
GLSL
17 lines
250 B
GLSL
#version 450
|
|
|
|
precision lowp sampler2D;
|
|
precision lowp int;
|
|
precision lowp float;
|
|
|
|
uniform lowp sampler2D s;
|
|
|
|
layout(location = 0) in lowp vec2 v;
|
|
|
|
layout(location = 0) out lowp vec4 color;
|
|
|
|
void main()
|
|
{
|
|
color = texture(s, v);
|
|
}
|