yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
918caa7e
main
1#version 450 2 3layout (xfb_buffer = 2 )out ; 4 5struct S { 6float x1_out ; 7float x2_out ; 8}; 9 10layout (location = 0 ,xfb_offset = 16 )out S s1 ; 11 12layout (location = 5 ,xfb_buffer = 1 ,xfb_offset = 8 )out struct S2 { 13float y1_out ; 14vec4 y2_out ; 15}s2 ; 16 17void main () { 18s1 .x1_out = 5.0 ; 19s1 .x2_out = 6.0 ; 20s2 .y1_out = 7.0 ; 21s2 .y2_out = vec4 (1.0 ,0.0 ,0.0 ,1.0 ); 22gl_Position = vec4 (0.0 ); 23}