yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
74912347
16.6.0
1 2cbuffer TestCB 3{ 4uint W ; 5uint H ; 6} ; 7 8struct BufType 9{ 10float4 va ; 11float4 vb ; 12} ; 13 14StructuredBuffer < BufType > SB0 ; 15RWStructuredBuffer < BufType > SB1 ; 16 17float4 main ( float4 pos : POS ) : SV_Target0 18{ 19float4 vTmp = SB0 [ pos . y * W + pos . x ] . va + SB0 [ pos . y * W + pos . x ] . vb ; 20 21vTmp += SB1 [ pos . y * W + pos . x ] . va + SB1 [ pos . y * W + pos . x ] . vb ; 22 23return vTmp ; 24}