| 1 |
#version 310 es |
| 2 |
#extension GL_OES_sample_variables : require |
| 3 |
precision mediump float; |
| 4 |
|
| 5 |
layout(location = 0) out vec2 FragColor; |
| 6 |
|
| 7 |
void main() |
| 8 |
{ |
| 9 |
FragColor = gl_SamplePosition + vec2(gl_SampleMaskIn[0]) + float(gl_SampleID); |
| 10 |
gl_SampleMask[0] = 1; |
| 11 |
} |