skia2/tests/sksl
Arman Uguray 02888a6f0a [sksl][wgsl] Support simple assignment
- Add support for simple assignment expressions, as well as swizzle,
  variable references, and type conversion constructors to support
  simple assignment test cases that reference built-ins and local variables.

- Handle a case where the type of a SkSL built-in differs from its WGSL
  counterpart and emit a type cast when such a variable gets referenced.

- Add additional test cases for supported WGSL features that could not
  be tested without simple assignment support.

Bug: skia:13092
Change-Id: Ib1ff3bcef60e436c9be5c08236c9fe4de02dd005
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/538420
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Arman Uguray <armansito@google.com>
2022-05-18 02:25:29 +00:00
..
blend Add ReducedBlendModeInfo to shared code. 2022-04-22 17:18:31 +00:00
errors Prevent comma operator constant-folding or constant-expression-usage. 2022-05-11 22:52:24 +00:00
folding Optimize away same-value ternaries. 2022-04-07 19:37:00 +00:00
glsl Added range highlighting to SkSL error reports 2022-04-07 13:29:48 +00:00
inliner Remove InlineMarker IR node. 2022-04-29 17:40:58 +00:00
intrinsics Optimize away self comparisons in SPIR-V. 2022-04-19 16:10:03 +00:00
metal Added range highlighting to SkSL error reports 2022-04-07 13:29:48 +00:00
runtime Add #version directive to SkSL 2022-05-17 15:42:31 +00:00
runtime_errors Move recursion tests into general /errors/ directory. 2022-04-28 21:25:41 +00:00
shared [sksl][wgsl] Support simple assignment 2022-05-18 02:25:29 +00:00
spirv Eliminate redundant loads following stores. 2022-04-18 14:57:48 +00:00
wgsl [sksl][wgsl] Support simple assignment 2022-05-18 02:25:29 +00:00
workarounds Eliminate redundant loads following stores. 2022-04-18 14:57:48 +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.