yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
ddfbbe26
vulkan-sdk-1.4.363.0
1 2// Test trivial case for structure splitting: the IN and OUT structs have ONLY an interstage IO. 3// This should fall back to flattening, and not produce any empty structures. 4 5struct VS_INPUT 6{ 7float4 Pos_in : SV_Position ; 8} ; 9 10struct VS_OUTPUT 11{ 12float4 Pos : SV_Position ; 13} ; 14 15VS_OUTPUT main ( VS_INPUT vsin , float4 Pos_loose : SV_Position ) 16{ 17VS_OUTPUT vsout ; 18 19vsout . Pos = vsin . Pos_in + Pos_loose ; 20 21return vsout ; 22}