yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
b2e5b5c5
main
1#version 460 2 3out vec4 vgo1 ;// declaration order different than fragment shader 4out vec2 vgo2 ;// declaration order different than fragment shader 5 6layout (location = 5 )out outBlock { 7vec4 o3 ; 8}; 9 10layout (binding = 0 )uniform sampler2D glass ; 11 12uniform crossStageBlock1 { 13uniform vec4 a ; 14vec4 b ; 15}; 16 17readonly buffer vertOnlyBlock { 18vec2 vb1 ; 19}; 20 21uniform crossStageBlock2 { 22uniform vec4 a ; 23vec2 b ; 24}blockName1 [2 ];// instance name different from frag 25 26void main () 27{ 28vgo1 = vec4 (0 ); 29vgo2 = vec2 (0 ); 30o3 = vec4 (0 ); 31} 32