16 lines
251 B
Plaintext
16 lines
251 B
Plaintext
|
#version 450
|
||
|
#extension GL_EXT_demote_to_helper_invocation : require
|
||
|
|
||
|
layout(location = 0) out vec4 FragColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
bool _15 = helperInvocationEXT();
|
||
|
demote;
|
||
|
if (!_15)
|
||
|
{
|
||
|
FragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
||
|
}
|
||
|
}
|
||
|
|