Add pack_matrix test
This commit is contained in:
parent
3cae3c4da8
commit
1ee750aed5
3 changed files with 111 additions and 0 deletions
8
Test/hlsl.matpack-pragma-global.frag
Normal file
8
Test/hlsl.matpack-pragma-global.frag
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#pragma pack_matrix(row_major)
|
||||
|
||||
float4x4 g_GlobalMat1;
|
||||
|
||||
float4 main() : SV_Target0
|
||||
{
|
||||
return g_GlobalMat1[0];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue