e64ae86d27
To extract metadata and validate the shader, we've added several iterations over all program elements. This CL rearranges things to iterate once (*). Variable conversion is moved to a separate loop later, to help with nesting and readability. Removes hard-to-read asserts. These were validating things enforced by both the IR generator and unit tests. *: Technically, there are additional implicit iterations when we call SkSL::Analysis functions. Folding all of this into a single pass would be even better, but much more complicated. Change-Id: I4f5aa649e74094e94c365ad20ef2ac96082285cd Reviewed-on: https://skia-review.googlesource.com/c/skia/+/303924 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com> Reviewed-by: Michael Ludwig <michaelludwig@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.