Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upOn 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! |
bors-servo
added a commit
that referenced
this issue
Oct 24, 2017
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 -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?