b2b1d6553e
1. It is illegal to declare an empty struct in WGSL. The codegen no longer declares an empty struct for pipeline stage inputs and outputs if the program does not reference them. 2. WGSL requires that every vertex program declare a @builtin(position) output. The codegen now emits this pipeline stage output even for an empty program that doesn't assign to sk_Position. This allows unit tests for vertex programs to be authored without unnecessary boilerplate. Bug: skia:13092 Change-Id: Ib023200e2ba13acf96859817249686d7f815cb00 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/538418 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Arman Uguray <armansito@google.com> |
||
---|---|---|
.. | ||
blend | ||
errors | ||
folding | ||
glsl | ||
inliner | ||
intrinsics | ||
metal | ||
runtime | ||
runtime_errors | ||
shared | ||
spirv | ||
wgsl | ||
workarounds | ||
README.txt |
This directory contains skslc-compiled output from matching source files in the /resources/sksl/ directory.