mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-18 00:37:43 +00:00
cbdf871d7f
Fixes #1158. Fixes #1159.
12 lines
194 B
GLSL
12 lines
194 B
GLSL
#version 450
|
|
|
|
layout(location = 0) in vec4 samp;
|
|
layout(location = 0) out vec4 color;
|
|
|
|
void main()
|
|
{
|
|
if (gl_SamplePosition.y < 0.5)
|
|
color = samp;
|
|
else
|
|
color = 2 * samp;
|
|
} |