db42bf2140
`fBuiltinFMASupport` is now true on both, and `fUsesPrecisionModifiers` is now false. Other mismatching flags exist, but they are non-trivial to synchronize as they are tied to extension strings. This will help our skslc-based unit tests generate the same results as our C++ unit tests did, but should not affect real-world results as these defaults will all be overwritten in a non-testing scenario. In practice, the `fUsesPrecisionModifiers` change is responsible for all of the diffs below. The other flags did not change the results of any of the currently-ported tests. Change-Id: Ieb056d852b027fa87c56fd89f971a77a10a8a124 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317204 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
14 lines
246 B
GLSL
14 lines
246 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
void main() {
|
|
sk_FragColor = vec4(0.0);
|
|
do {
|
|
vec4 _0_adjust;
|
|
{
|
|
_0_adjust = sk_FragColor + vec4(0.125);
|
|
}
|
|
|
|
sk_FragColor = _0_adjust;
|
|
} while (sk_FragColor.x < 0.5);
|
|
}
|