1*c8dee2aaSAndroid Build Coastguard Workeruniform float3x3 testMatrix3x3; 2*c8dee2aaSAndroid Build Coastguard Workeruniform half4 colorGreen, colorRed; 3*c8dee2aaSAndroid Build Coastguard Worker 4*c8dee2aaSAndroid Build Coastguard Workerhalf4 main(float2) { 5*c8dee2aaSAndroid Build Coastguard Worker const float3 expected1 = float3(-3, 6, -3); 6*c8dee2aaSAndroid Build Coastguard Worker const float3 expected2 = float3(6, -12, 6); 7*c8dee2aaSAndroid Build Coastguard Worker 8*c8dee2aaSAndroid Build Coastguard Worker return (cross(testMatrix3x3[0], testMatrix3x3[1]) == expected1 && 9*c8dee2aaSAndroid Build Coastguard Worker cross(testMatrix3x3[2], testMatrix3x3[0]) == expected2 && 10*c8dee2aaSAndroid Build Coastguard Worker cross(float3(1, 2, 3), float3(4, 5, 6)) == expected1 && 11*c8dee2aaSAndroid Build Coastguard Worker cross(float3(7, 8, 9), float3(1, 2, 3)) == expected2) ? colorGreen : colorRed; 12*c8dee2aaSAndroid Build Coastguard Worker} 13