skia2/tests/sksl/errors/MatrixToVectorCastInteger.glsl
John Stiles 7729e0a97e Add hints to slicing-constructor error messages.
This is intended to make it easier for users porting GLSL code with
slicing constructors; the error message should make it clear that a
swizzle can be used here instead.

Change-Id: Ib03276ee910dfffd6146717dbd347b058f9940d1
Bug: skia:12193
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/427200
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-07-13 14:12:23 +00:00

7 lines
234 B
GLSL

### Compilation failed:
error: 4: 'half2x2' is not a valid parameter to 'int' constructor
error: 5: 'half2x2' is not a valid parameter to 'int2' constructor
error: 6: 'half2x2' is not a valid parameter to 'int3' constructor
3 errors