yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
97068d8b
vulkan-sdk-1.4.350.0
1struct Nested { float y ; Texture2D texNested ; } ; 2struct A { Nested n ; float x ; } ; 3struct B { Nested n ; Texture2D tex ; } ; 4 5Texture2D someTex ; 6 7float4 main ( float4 vpos : VPOS ) : COLOR0 8{ 9A a1 , a2 ; 10B b ; 11 12// Assignment of nested structs to nested structs 13a1 . n = a2 . n ; 14b . n = a1 . n ; 15 16// Assignment of nested struct to standalone 17Nested n = b . n ; 18 19// Assignment to nestested struct members 20a2 . n . texNested = someTex ; 21a1 . n . y = 1.0 ; 22 23return float4 ( 0 , 0 , 0 , 0 ) ; 24}