mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 21:20:30 +00:00
12 lines
184 B
GLSL
12 lines
184 B
GLSL
|
#version 450
|
||
|
|
||
|
layout(location = 0) in vec4 samp;
|
||
|
layout(location = 0) out vec4 color;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
if (gl_SampleID < 3)
|
||
|
color = samp;
|
||
|
else
|
||
|
color = 2 * samp;
|
||
|
}
|