1b27c3d7a3
This sort of error would be detected by most backend compilers. This case was also detected by the bytecode generator. It's easy for us to do a similar check during SkSL IR generation and report the error sooner. Also, `convertIndex` had migrated a few hundred lines away from `convertIndexExpression`, so I moved it back to live next to its parent. Change-Id: I715d3abf42581782b55ba60df30d0296355667d4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/341377 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> |
||
---|---|---|
.. | ||
blend | ||
errors | ||
fp | ||
glsl | ||
inliner | ||
metal | ||
shared | ||
spirv | ||
workarounds |