4908a24d4b
This reverts commit c501857188
.
Reason for revert: breaking many bots
Original change's description:
> Add support for matrix == and != in Metal shaders.
>
> We need to polyfill an operator== and != when these are first
> encountered in the code.
>
> Change-Id: I539c838ee1871bcb0c4b66abb8a4a0f91146cd4f
> Bug: skia:11306
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/368496
> Auto-Submit: John Stiles <johnstiles@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>
TBR=brianosman@google.com,ethannicholas@google.com,johnstiles@google.com
Change-Id: Id583109a0d167c2c58a57644b14cd5f49d670737
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:11306
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/368801
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
24 lines
589 B
GLSL
24 lines
589 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
uniform vec4 colorGreen;
|
|
uniform vec4 colorRed;
|
|
vec4 main() {
|
|
mat2 _1_m3 = mat2(1.0, 2.0, 3.0, 4.0);
|
|
_1_m3 *= mat2(1.0);
|
|
mat2 _2_m5 = mat2(mat2(1.0, 2.0, 3.0, 4.0)[0].x);
|
|
mat2 _3_m6 = mat2(1.0, 2.0, 3.0, 4.0);
|
|
_3_m6 += _2_m5;
|
|
mat4 _4_m11 = mat4(2.0);
|
|
_4_m11 -= mat4(1.0);
|
|
mat2 _6_m3 = mat2(1.0, 2.0, 3.0, 4.0);
|
|
_6_m3 *= mat2(1.0);
|
|
mat2 _7_m5 = mat2(mat2(1.0, 2.0, 3.0, 4.0)[0].x);
|
|
mat2 _8_m6 = mat2(1.0, 2.0, 3.0, 4.0);
|
|
_8_m6 += _7_m5;
|
|
mat4 _9_m11 = mat4(2.0);
|
|
_9_m11 -= mat4(1.0);
|
|
return colorGreen;
|
|
|
|
|
|
}
|