skia2/tests/sksl
John Stiles 3744bd6b8d Fix GLSL/Metal codegen of unbraced empty blocks.
Previously, we would emit nothing at all, but that is not actually
valid if the Block is a child statement (e.g. the body of a loop).
Now we emit braces for empty blocks, even if the block was unscoped.

Change-Id: I456a8d7d306a3e59d85e39f80b9f15fe3347ea19
Bug: skia:11218
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/359562
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-01-26 21:18:36 +00:00
..
blend Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
errors Fix fuzzer-discovered error with variable scoping. 2021-01-26 17:08:59 +00:00
folding Avoid relying on bit-perfect irrational numbers in test code. 2021-01-25 21:27:19 +00:00
fp Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
inliner Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
intrinsics Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
metal Allow Metal shaders to return half4 colors. 2021-01-22 23:24:02 +00:00
runtime Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
runtime_errors Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
shared Fix GLSL/Metal codegen of unbraced empty blocks. 2021-01-26 21:18:36 +00:00
spirv Improve memory layout handling in SPIRV generator 2021-01-22 22:16:48 +00:00
workarounds Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +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.