12 lines
254 B
Plaintext
12 lines
254 B
Plaintext
uniform half4 colorRed, colorGreen;
|
|
|
|
bool test() {
|
|
bool ok = true;
|
|
ok = ok && (float3x2(2) == float3x2(float2(2.0, 0.0), float2(0.0, 2.0), float2(0.0)));
|
|
return ok;
|
|
}
|
|
|
|
half4 main(float2 coords) {
|
|
return test() ? colorGreen : colorRed;
|
|
}
|