skia2/tests/sksl/errors/ComparisonDimensional.glsl
Julia Lavrova 55c215cfb6 Reland "Better Matrix/Scalar testing"
This reverts commit 455e580b9c.

Reason for revert: Fixing the build break

Original change's description:
> Revert "Better Matrix/Scalar testing"
>
> This reverts commit abb611550e.
>
> Reason for revert: Build break
> Original change's description:
> > Better Matrix/Scalar testing
> >
> > Adding tests for matrix math and comparison
> > bug: skia:12681
> >
> > Change-Id: Ia1537ee2e411383749456fd6ff938b7c9a2e1061
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/493416
> > Reviewed-by: John Stiles <johnstiles@google.com>
> > Commit-Queue: Julia Lavrova <jlavrova@google.com>
>
> Change-Id: I70871b4b75c1f10e870dc5e884a42405a80fc0f9
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/494816
> Reviewed-by: John Stiles <johnstiles@google.com>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Commit-Queue: Julia Lavrova <jlavrova@google.com>

Change-Id: Idef8dbcd6f5a5bbe84d3fd86888e3eab0f0521ee
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/494817
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
2022-01-14 19:12:00 +00:00

20 lines
1.1 KiB
GLSL

### Compilation failed:
error: 5: type mismatch: '==' cannot operate on 'float2', 'float'
error: 5: type mismatch: '==' cannot operate on 'float2', 'float2x2'
error: 5: type mismatch: '==' cannot operate on 'float2x2', 'float'
error: 6: type mismatch: '==' cannot operate on 'float', 'float2'
error: 6: type mismatch: '==' cannot operate on 'float2x2', 'float2'
error: 6: type mismatch: '==' cannot operate on 'float', 'float2x2'
error: 7: type mismatch: '!=' cannot operate on 'float2', 'float'
error: 7: type mismatch: '!=' cannot operate on 'float2', 'float2x2'
error: 7: type mismatch: '!=' cannot operate on 'float2x2', 'float'
error: 8: type mismatch: '!=' cannot operate on 'float', 'float2'
error: 8: type mismatch: '!=' cannot operate on 'float2x2', 'float2'
error: 8: type mismatch: '!=' cannot operate on 'float', 'float2x2'
error: 14: type mismatch: '==' cannot operate on 'float2x2', 'float3x3'
error: 14: type mismatch: '!=' cannot operate on 'float2x2', 'float3x3'
error: 20: type mismatch: '==' cannot operate on 'float2', 'float3'
error: 20: type mismatch: '!=' cannot operate on 'float2', 'float3'
16 errors