skia2/tests/sksl
Brian Osman bf2163f267 SkSL: Only allow bitwise ops on integral types
We were allowing these ops on floating point types. The resulting GLSL
would fail to compile. We also allowed >>= and <<= on vectors (but not
any of the other bitwise ops).

The newly added unit tests were failing (eg, not catching errors). New
results are correct.

Bug: skia:10707
Change-Id: I97b769f1ce59261361109a71061b42dc8ef3c74b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317393
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-09-17 18:12:34 +00:00
..
errors SkSL: Only allow bitwise ops on integral types 2020-09-17 18:12:34 +00:00
fp Migrate several SkSLFP tests to golden outputs. 2020-09-17 16:46:18 +00:00
glsl Migrate several GLSL workaround unit tests to golden files. 2020-09-17 16:41:18 +00:00
inliner Align default values of GrShaderCaps with StandaloneShaderCaps. 2020-09-16 15:16:37 +00:00
workarounds Migrate several GLSL workaround unit tests to golden files. 2020-09-17 16:41:18 +00:00