mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-09-19 14:19:59 +00:00
17 lines
246 B
GLSL
17 lines
246 B
GLSL
#version 450
|
|
#extension GL_EXT_demote_to_helper_invocation : require
|
|
|
|
layout(location = 0) out float FragColor;
|
|
|
|
void func()
|
|
{
|
|
FragColor = float(gl_HelperInvocation);
|
|
demote;
|
|
FragColor = float(gl_HelperInvocation);
|
|
}
|
|
|
|
void main()
|
|
{
|
|
func();
|
|
}
|