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>
7 lines
234 B
GLSL
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
|