Add flag for DawnGraphicsPipeline to use WGSL instead of SPIR-V.
This change is pretty localized; we just need to call a different
SkSL compile function, a different Dawn compile function, and set
different entrypoint names.
Change-Id: I0540a1b27608bb50511d39cc4c9bec6b4538a873
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/741816
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: James Godfrey-Kittle <jamesgk@google.com>
Commit-Queue: James Godfrey-Kittle <jamesgk@google.com>
1 file changed