-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On my integrated GPU, a non-blurred rounded box shadow breaks all future clipping #1738
Comments
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 #1810 (comment) actually fixes this bug. I have no idea why though. |
@mstange could you make a PR then? thanks! |
Use a different workaround that fixes both #1809 and #1738. This reverts #1810 and applies the alternative workaround that I gave in #1810 (comment) , because this alternative workaround also happens to fix #1738. I was hesitant to create this PR because I haven't debugged #1738 enough to understand what's going wrong. But there is probably no good reason to delay fixing this until somebody does the investigation. r? @kvark <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1915) <!-- Reviewable:end -->
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?
The text was updated successfully, but these errors were encountered: