skia2/resources/sksl/folding
Brian Osman a7eb6819da SkSL: Do left-shift constant-folding with unsigned integers
Every GPU API defines things this way, but C++ does not (until C++20).
Forcing the shift-as-unsigned prevents UBSAN warnings.

Bug: oss-fuzz:29093
Change-Id: Ie82e25c46e28446ffc42a40172ca6b272bf1c362
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/363937
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-02-01 19:51:28 +00:00
..
BoolFolding.sksl Add helper uniforms to Runtime Effect tests. 2021-01-27 00:53:46 +00:00
FloatFolding.sksl Add helper uniforms to Runtime Effect tests. 2021-01-27 00:53:46 +00:00
IntFoldingES2.sksl Add helper uniforms to Runtime Effect tests. 2021-01-27 00:53:46 +00:00
IntFoldingES3.sksl SkSL: Do left-shift constant-folding with unsigned integers 2021-02-01 19:51:28 +00:00
MatrixFoldingES2.sksl Add helper uniforms to Runtime Effect tests. 2021-01-27 00:53:46 +00:00
MatrixFoldingES3.sksl Add helper uniforms to Runtime Effect tests. 2021-01-27 00:53:46 +00:00
ShortCircuitBoolFolding.sksl Add helper uniforms to Runtime Effect tests. 2021-01-27 00:53:46 +00:00
VectorScalarFolding.sksl Add helper uniforms to Runtime Effect tests. 2021-01-27 00:53:46 +00:00
VectorVectorFolding.sksl Add helper uniforms to Runtime Effect tests. 2021-01-27 00:53:46 +00:00