yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
974a5866
main
1#version 460 core 2#extension GL_EXT_demote_to_helper_invocation : enable 3 4layout (set = 0 ,binding = 0 )uniform sampler2D tex ; 5layout (location = 0 )in vec2 coord ; 6layout (location = 0 )out vec4 o ; 7 8void main (void ) 9{ 10vec4 v = texture (tex ,coord ); 11 12if (v == vec4 (0.1 ,0.2 ,0.3 ,0.4 )) 13demote ; 14 15bool x = helperInvocationEXT (); 16 17o = v ; 18}