cb13c892af
SkSL errors now identify the specific range of code they are describing, rather than just the line number. Change-Id: Ifabb3148476f9b4cd8e532f23e5b38e1cf33a87e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528039 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
52 lines
2.1 KiB
GLSL
52 lines
2.1 KiB
GLSL
### Compilation failed:
|
|
|
|
error: 5: type mismatch: '==' cannot operate on 'float2', 'float'
|
|
return v == f || v == m || m == f ||
|
|
^^^^^^
|
|
error: 5: type mismatch: '==' cannot operate on 'float2', 'float2x2'
|
|
return v == f || v == m || m == f ||
|
|
^^^^^^
|
|
error: 5: type mismatch: '==' cannot operate on 'float2x2', 'float'
|
|
return v == f || v == m || m == f ||
|
|
^^^^^^
|
|
error: 6: type mismatch: '==' cannot operate on 'float', 'float2'
|
|
f == v || m == v || f == m ||
|
|
^^^^^^
|
|
error: 6: type mismatch: '==' cannot operate on 'float2x2', 'float2'
|
|
f == v || m == v || f == m ||
|
|
^^^^^^
|
|
error: 6: type mismatch: '==' cannot operate on 'float', 'float2x2'
|
|
f == v || m == v || f == m ||
|
|
^^^^^^
|
|
error: 7: type mismatch: '!=' cannot operate on 'float2', 'float'
|
|
v != f || v != m || m != f ||
|
|
^^^^^^
|
|
error: 7: type mismatch: '!=' cannot operate on 'float2', 'float2x2'
|
|
v != f || v != m || m != f ||
|
|
^^^^^^
|
|
error: 7: type mismatch: '!=' cannot operate on 'float2x2', 'float'
|
|
v != f || v != m || m != f ||
|
|
^^^^^^
|
|
error: 8: type mismatch: '!=' cannot operate on 'float', 'float2'
|
|
f != v || m != v || f != m ;
|
|
^^^^^^
|
|
error: 8: type mismatch: '!=' cannot operate on 'float2x2', 'float2'
|
|
f != v || m != v || f != m ;
|
|
^^^^^^
|
|
error: 8: type mismatch: '!=' cannot operate on 'float', 'float2x2'
|
|
f != v || m != v || f != m ;
|
|
^^^^^^
|
|
error: 14: type mismatch: '==' cannot operate on 'float2x2', 'float3x3'
|
|
return m2 == m3 || m2 != m3;
|
|
^^^^^^^^
|
|
error: 14: type mismatch: '!=' cannot operate on 'float2x2', 'float3x3'
|
|
return m2 == m3 || m2 != m3;
|
|
^^^^^^^^
|
|
error: 20: type mismatch: '==' cannot operate on 'float2', 'float3'
|
|
return v2 == v3 || v2 != v3;
|
|
^^^^^^^^
|
|
error: 20: type mismatch: '!=' cannot operate on 'float2', 'float3'
|
|
return v2 == v3 || v2 != v3;
|
|
^^^^^^^^
|
|
16 errors
|