Skip to content
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

Add specific shaders for rectangles with CLIP feature. #591

Merged
merged 1 commit into from Nov 24, 2016

Conversation

@glennw
Copy link
Member

glennw commented Nov 24, 2016

Having the base rectangle shader include clip makes the software
mesa implementation (somewhat) slower for reftests. This is enough
of a timing difference that it triggers a lot of intermittent
test failures in Servo.

Instead, include a simple rectangle shader for workloads that
don't have a clip mask.

The other shaders are typically more expensive and not used as
frequently by the reftests, so hopefully this change is enough
to work around the Servo intermittent bugs.


This change is Reviewable

Having the base rectangle shader include clip makes the software
mesa implementation (somewhat) slower for reftests. This is enough
of a timing difference that it triggers a lot of intermittent
test failures in Servo.

Instead, include a simple rectangle shader for workloads that
don't have a clip mask.

The other shaders are typically more expensive and not used as
frequently by the reftests, so hopefully this change is enough
to work around the Servo intermittent bugs.
@glennw
Copy link
Member Author

glennw commented Nov 24, 2016

@mrobinson
Copy link
Member

mrobinson commented Nov 24, 2016

@bors-servo r+

Hopefully this fixes the issues with the Servo tests.

@bors-servo
Copy link
Contributor

bors-servo commented Nov 24, 2016

📌 Commit 18164e5 has been approved by mrobinson

@bors-servo
Copy link
Contributor

bors-servo commented Nov 24, 2016

Test exempted - status

@bors-servo bors-servo merged commit 18164e5 into servo:master Nov 24, 2016
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
bors-servo added a commit that referenced this pull request Nov 24, 2016
Add specific shaders for rectangles with CLIP feature.

Having the base rectangle shader include clip makes the software
mesa implementation (somewhat) slower for reftests. This is enough
of a timing difference that it triggers a lot of intermittent
test failures in Servo.

Instead, include a simple rectangle shader for workloads that
don't have a clip mask.

The other shaders are typically more expensive and not used as
frequently by the reftests, so hopefully this change is enough
to work around the Servo intermittent bugs.

<!-- 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/591)
<!-- Reviewable:end -->
@kvark kvark mentioned this pull request Nov 24, 2016
0 of 5 tasks complete
@glennw glennw deleted the glennw:intermittent-hack branch Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.