SPIRV-Cross/shaders/legacy/fragment/explicit-lod.legacy.frag

13 lines
196 B
GLSL
Raw Normal View History

2017-03-23 14:51:43 +00:00
#version 310 es
precision mediump float;
layout(binding = 0) uniform sampler2D tex;
2017-03-23 14:51:43 +00:00
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = textureLod(tex, vec2(0.4, 0.6), 0.0);
}