72664bede4
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>
10 lines
156 B
Plaintext
10 lines
156 B
Plaintext
/*#pragma settings UsesPrecisionModifiers*/
|
|
|
|
void main() {
|
|
half x = 0.75;
|
|
float y = 1;
|
|
x++;
|
|
y++;
|
|
sk_FragColor.rg = half2(x, half(y));
|
|
}
|