Closed mstange closed 6 years ago
I wonder if it could be related to the for loop in the blur shader, which uses integers? Argh, what a frustrating shader compiler / driver you have!
This testcase doesn't have a blur, though.
Oh, right. Not immediately clear to me where there would be an int comparison. I'll take a quick look at the shaders today and let you know if I spot anything...
It turns out that the alternative workaround for #1809 that I gave in https://github.com/servo/webrender/pull/1810#issuecomment-334480233 actually fixes this bug. I have no idea why though.
@mstange could you make a PR then? thanks!
https://bugzilla.mozilla.org/show_bug.cgi?id=1402073
>> Testcase <<
This testcase contains two things:
On my integrated GPU, the background is not clipped to the rounded shape.
Rendering with integrated GPU (this build already contains the
!=
workarounds for text and gradients):Rendering with discrete GPU:
@glennw, any ideas where I should be searching for another integer equality comparison?