skia2/tests/sksl
John Stiles 72664bede4 Add support for #pragma settings comments in SkSL.
This will allow us to write skslc-based golden tests that deviate from
the standalone skslc settings.

This CL provides six options; more will be added as necessary.
- Default (caps)
- UsesPrecisionModifiers (caps)
- Version110 (caps)
- Version450Core (caps)
- ForceHighPrecision (settings flag bit)
- Sharpen (settings flag bit)

Change-Id: I9b779e039b2f0c0ccf43dca226fb4844aff3526b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317237
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-09-16 22:19:58 +00:00
..
errors Create blank SkSL test files for Ninja's benefit. 2020-09-15 16:00:30 +00:00
fp Generate SkSL golden output files from test inputs during the build. 2020-09-14 14:54:12 +00:00
glsl Add support for #pragma settings comments in SkSL. 2020-09-16 22:19:58 +00:00
inliner Align default values of GrShaderCaps with StandaloneShaderCaps. 2020-09-16 15:16:37 +00:00