skia2/tests/sksl
John Stiles b0eb20f83a Convert IRGenerator::convertPrefixExpr to PrefixExpression::Make.
Surprisingly, this actually improved our error detection slightly.
The expression `- -half4(0)` can now be simplified to `half4(0)` at
IR generation time, which allows the constant-folder to detect a
constant zero (and from there, a division by constant zero).

Change-Id: I8c4f6ab522efab5bf98913f9c6a1487b7af39a99
Bug: skia:11342, skia:11343
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/376842
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-02-26 22:34:05 +00:00
..
blend Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
errors Convert IRGenerator::convertPrefixExpr to PrefixExpression::Make. 2021-02-26 22:34:05 +00:00
folding Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
fp Remove fragmentProcessor field access 2021-02-24 21:33:36 +00:00
glsl Remove specific blend mode layout qualifiers 2021-02-23 15:45:55 +00:00
inliner Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
intrinsics Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
metal Allow repeated params in Metal out-params helper. 2021-02-16 15:45:45 +00:00
runtime Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
runtime_errors Align SkSL const rules more closely with GLSL 2021-02-26 17:44:11 +00:00
shared Align SkSL const rules more closely with GLSL 2021-02-26 17:44:11 +00:00
spirv Improve memory layout handling in SPIRV generator 2021-01-22 22:16:48 +00:00
workarounds Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +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.