yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
4d20fd329
master
1//TEST:REFLECTION:-profile ps_4_0 -target hlsl -no-codegen -matrix-layout-column-major 2//TEST:REFLECTION:-profile ps_4_0 -target hlsl -no-codegen -matrix-layout-row-major 3 4// Test that we apply matrix layout rules correctly. 5 6cbuffer A 7{ 8 float3x4 aa; 9 row_major float3x4 ab; 10 column_major float3x4 ac; 11} 12 13struct SB 14{ 15 float3x4 ba; 16 row_major float3x4 bb; 17 column_major float3x4 bc; 18}; 19 20cbuffer B 21{ 22 SB b; 23} 24 25float4 main() : SV_Target 26{ 27 return 0.0; 28}