blob: a0c1cdff171982d7e6bc8b3904dae00e81b18660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
//TEST:REFLECTION:-profile ps_4_0 -target hlsl
//TEST:REFLECTION:-profile ps_4_0 -target hlsl -matrix-layout-row-major
// Test that we apply matrix layout rules correctly.
cbuffer A
{
float3x4 aa;
row_major float3x4 ab;
column_major float3x4 ac;
}
struct SB
{
float3x4 ba;
row_major float3x4 bb;
column_major float3x4 bc;
};
cbuffer B
{
SB b;
}
float4 main() : SV_Target
{
return 0.0;
}
|