7729e0a97e
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>
8 lines
327 B
GLSL
8 lines
327 B
GLSL
### Compilation failed:
|
|
|
|
error: 4: 'half3x3' is not a valid parameter to 'half' constructor; use '[0][0]' instead
|
|
error: 5: 'half3x3' is not a valid parameter to 'half2' constructor
|
|
error: 6: 'half3x3' is not a valid parameter to 'half3' constructor
|
|
error: 7: 'half3x3' is not a valid parameter to 'half4' constructor
|
|
4 errors
|