ab8ed92a0c
This actually exposed a latent bug: we don't support bool(1.23) or bool(1) casts, but these are valid in GLSL: https://www.khronos.org/opengl/wiki/Data_Type_(GLSL)#Conversion_constructors "to bool: A value equal to 0 or 0.0 becomes false; anything else is true." Change-Id: Ia929a09914ffc96f081d0402d7bb05b5428f8db6 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/349977 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
7 lines
137 B
Metal
7 lines
137 B
Metal
### Compilation failed:
|
|
|
|
error: 1: cannot construct 'bool'
|
|
error: 2: cannot construct 'bool'
|
|
error: 14: unknown identifier 'BF'
|
|
3 errors
|