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

Extra care of the upper bound for image tiling shader #1798

Merged
merged 1 commit into from Oct 4, 2017

Conversation

@kvark
Copy link
Member

kvark commented Oct 3, 2017

@glennw
Copy link
Member

glennw commented Oct 3, 2017

Shader validation is failing on CI. Is it possible to add a reftest for this? It would be good to have test coverage for an edge case like this.

@kvark kvark force-pushed the kvark:tile branch 2 times, most recently from f50044a to 49edaf8 Oct 3, 2017
@kvark
Copy link
Member Author

kvark commented Oct 3, 2017

@glennw should be better now

@kvark
Copy link
Member Author

kvark commented Oct 3, 2017

Weird, I generated the image from headless.py, then cropped it, and it doesn't match O_o

@glennw
Copy link
Member

glennw commented Oct 3, 2017

@kvark I hate to be pedantic on this stuff - but we probably shouldn't include that image in the repo unless we know the licensing on it. Would it be possible to replace with a simple image we create that tests the issue in question?

@kvark kvark force-pushed the kvark:tile branch from 49edaf8 to 38b85e4 Oct 3, 2017
@kvark
Copy link
Member Author

kvark commented Oct 3, 2017

@glennw sure, that would be most optimal, just going to take a bit more effort.

@kvark kvark force-pushed the kvark:tile branch from 38b85e4 to 6d00ddf Oct 3, 2017
@kvark kvark force-pushed the kvark:tile branch from 6d00ddf to 09d78a8 Oct 3, 2017
@kvark
Copy link
Member Author

kvark commented Oct 3, 2017

Replaced the image with a hand-generated one.
Reftest produces 1 pixel difference of value 1 when running all the reftests (with osmesa) for some reason, but not when running transform tests only.

@glennw
Copy link
Member

glennw commented Oct 3, 2017

Thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Oct 3, 2017

📌 Commit 09d78a8 has been approved by glennw

@bors-servo
Copy link
Contributor

bors-servo commented Oct 3, 2017

Testing commit 09d78a8 with merge 8670275...

bors-servo added a commit that referenced this pull request Oct 3, 2017
Extra care of the upper bound for image tiling shader

Fixes  #1797
r? @glennw

Gecko try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8a192063236587f0d93b5b85b0bf1c16108c3a6d

<!-- 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/1798)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: glennw
Pushing 8670275 to master...

@bors-servo bors-servo merged commit 09d78a8 into servo:master Oct 4, 2017
3 of 4 checks passed
3 of 4 checks passed
Taskcluster (pull_request) TaskGroup: Pending (for pull_request.synchronize)
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@kvark kvark deleted the kvark:tile branch Oct 4, 2017
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

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