skia2/tests/sksl
John Stiles 378e4aecfe Report int-literal overflow via cast-from-float.
The fuzzer discovered that SkSL could create an out-of-range int literal
by casting from a floating point literal. We were only doing range
checks when the starting literal was an integer. Since we now assert
when an out-of-range int literal is created (as of
http://review.skia.org/464124), the fuzzer can detect this error.

Change-Id: Ie66f60ddbe7b4fbe5b648c17292c59a4ba079716
Bug: oss-fuzz:40456
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/465385
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-29 14:55:30 +00:00
..
blend Revert "Add RelaxedPrecision decoration to function-call temp vars." 2021-09-08 17:06:07 +00:00
errors Report int-literal overflow via cast-from-float. 2021-10-29 14:55:30 +00:00
folding Allow const int variables to be used for array sizes. 2021-10-18 14:23:33 +00:00
glsl Report an error if sk_LastFragColor is referenced without fbFetchSupport 2021-09-15 15:41:49 +00:00
inliner Fix inliner bug discovered by fuzzer. 2021-09-07 13:29:37 +00:00
intrinsics Wrap 'u_rtFlip.y * dfdy()' in parentheses, in GLSL. 2021-10-29 14:03:35 +00:00
metal Reenable DSLParser 2021-09-16 15:28:19 +00:00
runtime Fix ES2 conformance test 'in_vs_no_in'. 2021-10-11 22:27:37 +00:00
runtime_errors Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
shared Add overflow protection to vector-arithmetic folding. 2021-10-27 16:49:02 +00:00
spirv Fix parsing error with SPIR-V negating a uint. 2021-08-25 17:52:50 +00:00
workarounds Remove the "in blend modes randomly fail for all zero vec" workaround 2021-10-21 16:54:51 +00:00
README.txt Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00

This directory contains skslc-compiled output from matching source files
in the /resources/sksl/ directory.