yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
fd1e8a78
main
1layout (set = 3 ,binding = 5 )tbuffer tbufName { 2layout (offset = 16 )float4 v1 ; 3}; 4 5layout (push_constant )tbuffer tbufName2 { 6float4 v5 ; 7}; 8 9layout (constant_id = 17 )const int specConst = 10 ; 10 11tbuffer tbufName2 :layout (set = 4 ,binding = 7 ) { 12layout (offset = 16 )float4 v1PostLayout ; 13}; 14 15float4 PixelShaderFunction (float4 input ) :COLOR0 16{ 17float4 layout = 2.0 ; 18return input + v1 + v5 + v1PostLayout * layout ; 19}