a0e407d4b7
Disabled on Adreno 5xx/6xx as the tests do not pass on those GPUs: http://screen/3Dkgs9syj37cjBV Change-Id: Ib935d01e8f06dbfe7decd5cc4e52e0688b48be08 Bug: skia:11306, skia:11308 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/368805 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
17 lines
445 B
Plaintext
17 lines
445 B
Plaintext
uniform half4 colorGreen, colorRed;
|
|
uniform half2x2 testMatrix2x2;
|
|
uniform half3x3 testMatrix3x3;
|
|
|
|
bool test_equality() {
|
|
bool ok = true;
|
|
ok = ok && testMatrix2x2 == half2x2(1,2,3,4);
|
|
ok = ok && testMatrix3x3 == half3x3(1,2,3,4,5,6,7,8,9);
|
|
ok = ok && testMatrix2x2 != half2x2(100);
|
|
ok = ok && testMatrix3x3 != half3x3(9,8,7,6,5,4,3,2,1);
|
|
return ok;
|
|
}
|
|
|
|
half4 main() {
|
|
return test_equality() ? colorGreen : colorRed;
|
|
}
|