52
Test/hlsl.constructimat.frag
Normal file
52
Test/hlsl.constructimat.frag
Normal file
@@ -0,0 +1,52 @@
|
||||
int main() : SV_TARGET
|
||||
{
|
||||
// integer mat constructors
|
||||
const int4x4 var441 = { 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 };
|
||||
const int4x4 var442 = int4x4( 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 );
|
||||
int4x4 var443 = { 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 };
|
||||
int4x4 var444 = int4x4( 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 );
|
||||
|
||||
const int4x2 var421 = { 0,1, 1,1, 1,0, 0,0 };
|
||||
const int4x2 var422 = int4x2( 0,1, 1,1, 1,0, 0,0 );
|
||||
int4x2 var423 = { 0,1, 1,1, 1,0, 0,0 };
|
||||
int4x2 var424 = int4x2( 0,1, 1,1, 1,0, 0,0 );
|
||||
|
||||
const int3x2 var321 = { 0,1, 1,1, 1,0 };
|
||||
const int3x2 var322 = int3x2( 0,1, 1,1, 1,0 );
|
||||
int3x2 var323 = { 0,1, 1,1, 1,0 };
|
||||
int3x2 var234 = int3x2( 0,1, 1,1, 1,0);
|
||||
|
||||
// unsigned integer mat constructors
|
||||
const uint4x4 uvar441 = { 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 };
|
||||
const uint4x4 uvar442 = uint4x4( 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 );
|
||||
uint4x4 uvar443 = { 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 };
|
||||
uint4x4 uvar444 = uint4x4( 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 );
|
||||
|
||||
const uint4x2 uvar421 = { 0,1, 1,1, 1,0, 0,0 };
|
||||
const uint4x2 uvar422 = uint4x2( 0,1, 1,1, 1,0, 0,0 );
|
||||
uint4x2 uvar423 = { 0,1, 1,1, 1,0, 0,0 };
|
||||
uint4x2 uvar424 = uint4x2( 0,1, 1,1, 1,0, 0,0 );
|
||||
|
||||
const uint3x2 uvar321 = { 0,1, 1,1, 1,0 };
|
||||
const uint3x2 uvar322 = uint3x2( 0,1, 1,1, 1,0 );
|
||||
uint3x2 uvar323 = { 0,1, 1,1, 1,0 };
|
||||
uint3x2 uvar234 = uint3x2( 0,1, 1,1, 1,0);
|
||||
|
||||
// boolean mat constructors
|
||||
const bool4x4 bvar441 = { 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 };
|
||||
const bool4x4 bvar442 = bool4x4( 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 );
|
||||
bool4x4 bvar443 = { 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 };
|
||||
bool4x4 bvar444 = bool4x4( 0,1,0,0, 1,1,0,0, 1,0,0,0, 0,0,0,0 );
|
||||
|
||||
const bool4x2 bvar421 = { 0,1, 1,1, 1,0, 0,0 };
|
||||
const bool4x2 bvar422 = bool4x2( 0,1, 1,1, 1,0, 0,0 );
|
||||
bool4x2 bvar423 = { 0,1, 1,1, 1,0, 0,0 };
|
||||
bool4x2 bvar424 = bool4x2( 0,1, 1,1, 1,0, 0,0 );
|
||||
|
||||
const bool3x2 bvar321 = { 0,1, 1,1, 1,0 };
|
||||
const bool3x2 bvar322 = bool3x2( 0,1, 1,1, 1,0 );
|
||||
bool3x2 bvar323 = { 0,1, 1,1, 1,0 };
|
||||
bool3x2 bvar234 = bool3x2( 0,1, 1,1, 1,0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user