|
@@ -1,15 +1,19 @@
|
|
// Run: %dxc -T ps_6_0 -E main -Zpc
|
|
// Run: %dxc -T ps_6_0 -E main -Zpc
|
|
|
|
|
|
// CHECK: OpDecorate %_runtimearr_mat2v3float ArrayStride 24
|
|
// CHECK: OpDecorate %_runtimearr_mat2v3float ArrayStride 24
|
|
|
|
+// CHECK: OpMemberDecorate %type_StructuredBuffer_mat2v3float 0 MatrixStride 8
|
|
// CHECK: OpMemberDecorate %type_StructuredBuffer_mat2v3float 0 RowMajor
|
|
// CHECK: OpMemberDecorate %type_StructuredBuffer_mat2v3float 0 RowMajor
|
|
StructuredBuffer<float2x3> ROSB1;
|
|
StructuredBuffer<float2x3> ROSB1;
|
|
// CHECK: OpDecorate %_runtimearr_mat3v2float ArrayStride 32
|
|
// CHECK: OpDecorate %_runtimearr_mat3v2float ArrayStride 32
|
|
|
|
+// CHECK: OpMemberDecorate %type_RWStructuredBuffer_mat3v2float 0 MatrixStride 16
|
|
// CHECK: OpMemberDecorate %type_RWStructuredBuffer_mat3v2float 0 RowMajor
|
|
// CHECK: OpMemberDecorate %type_RWStructuredBuffer_mat3v2float 0 RowMajor
|
|
RWStructuredBuffer<float3x2> RWSB1;
|
|
RWStructuredBuffer<float3x2> RWSB1;
|
|
// CHECK: OpDecorate %_runtimearr_mat4v3float ArrayStride 48
|
|
// CHECK: OpDecorate %_runtimearr_mat4v3float ArrayStride 48
|
|
|
|
+// CHECK: OpMemberDecorate %type_AppendStructuredBuffer_mat4v3float 0 MatrixStride 16
|
|
// CHECK: OpMemberDecorate %type_AppendStructuredBuffer_mat4v3float 0 RowMajor
|
|
// CHECK: OpMemberDecorate %type_AppendStructuredBuffer_mat4v3float 0 RowMajor
|
|
AppendStructuredBuffer<float4x3> ASB1;
|
|
AppendStructuredBuffer<float4x3> ASB1;
|
|
// CHECK: OpDecorate %_runtimearr_mat3v4float ArrayStride 64
|
|
// CHECK: OpDecorate %_runtimearr_mat3v4float ArrayStride 64
|
|
|
|
+// CHECK: OpMemberDecorate %type_ConsumeStructuredBuffer_mat3v4float 0 MatrixStride 16
|
|
// CHECK: OpMemberDecorate %type_ConsumeStructuredBuffer_mat3v4float 0 RowMajor
|
|
// CHECK: OpMemberDecorate %type_ConsumeStructuredBuffer_mat3v4float 0 RowMajor
|
|
ConsumeStructuredBuffer<float3x4> CSB1;
|
|
ConsumeStructuredBuffer<float3x4> CSB1;
|
|
|
|
|