34de5cb57b
Metal-specific tests are pretty thin on the ground here, and some of the remaining tests no longer added value as they were already covered pretty well by existing tests in Shared. The majority of remaining tests were specific to Metal's lack of flexible matrix casting (and SkSL's ability to paper over this with helper functions). Change-Id: I7b3c445268b95320e7f46ec88d793c315d43ee8a Bug: skia:10694 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/334956 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
6 lines
131 B
Plaintext
6 lines
131 B
Plaintext
void main() {
|
|
float3x3 a = float3x3(1);
|
|
float3x3 b = float3x3(float2x2(1));
|
|
sk_FragColor.x = (a[0] == b[0]) ? 0 : 1;
|
|
}
|