Add pack_matrix test
This commit is contained in:
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];
|
||||
}
|
||||
Reference in New Issue
Block a user