2018-01-15 08:35:09 +00:00
|
|
|
#version 450
|
|
|
|
|
|
|
|
layout(location = 0) flat in int counter;
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2019-01-30 12:31:17 +00:00
|
|
|
vec4 _33;
|
2018-03-12 13:58:40 +00:00
|
|
|
for (;;)
|
2018-01-15 08:35:09 +00:00
|
|
|
{
|
2019-01-30 12:31:17 +00:00
|
|
|
if (counter == 10)
|
2018-01-15 08:35:09 +00:00
|
|
|
{
|
2019-01-30 12:31:17 +00:00
|
|
|
_33 = vec4(10.0);
|
2018-01-15 08:35:09 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2019-01-30 12:31:17 +00:00
|
|
|
_33 = vec4(30.0);
|
2018-01-15 08:35:09 +00:00
|
|
|
break;
|
|
|
|
}
|
2018-03-12 13:58:40 +00:00
|
|
|
}
|
2019-01-30 12:31:17 +00:00
|
|
|
FragColor = _33;
|
2018-01-15 08:35:09 +00:00
|
|
|
}
|
|
|
|
|