Skip to content

Add specific shaders for rectangles with CLIP feature. - #591

Merged
bors-servo merged 1 commit into
servo:masterfrom
glennw:intermittent-hack
Nov 24, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
glennw:intermittent-hack

Conversation

@glennw

@glennw glennw commented Nov 24, 2016 •

Copy link
Copy Markdown
Member

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

glennw commented Nov 24, 2016

Copy link
Copy Markdown
Member Author

r? @kvark and @mrobinson

@mrobinson

Copy link
Copy Markdown
Member

@bors-servo r+

Hopefully this fixes the issues with the Servo tests.

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 18164e5 has been approved by mrobinson

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Test exempted - status

@bors-servo
bors-servo merged commit 18164e5 into servo:master Nov 24, 2016
bors-servo pushed 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 -->
@glennw
glennw deleted the intermittent-hack branch November 24, 2016 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants