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 upAssert in `max_texture_size` #1027
Comments
|
@nical It was definitely something in #1004 that caused this, I bisected the WR changes to isolate the regression. You can find a full try push showing the failures at https://treeherder.mozilla.org/#/jobs?repo=try&revision=07cca001d72d6fc9d90618016124203c1d4f5317 |
|
I am pretty sure this is happening because the image is an external buffer and I assumed we did not support tiling those (yet), so I disabled automatically tiling this type of images in that PR. Thankfully it's trivial to re-enable. I still think we don't properly tile external image buffers (as in the interface when later uploading the external buffer does not take tiling into account), we'll have to fix that as a followup. |
Tile external buffer images when they exceed the maximum texture size. Fixes issue #1027, and addresses a review comment from PR #1004 about explicitly enumerating all variants instead of using ```_ => { ... }``` in this match expression. 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/1036) <!-- Reviewable:end -->
|
This has merged. |
|
Fix verified in try push https://treeherder.mozilla.org/#/jobs?repo=try&revision=b96726c4cf97169672cc938067d1f0c97a09e40c Thanks! |
See logs:
https://treeherder.mozilla.org/logviewer.html#?job_id=87300231&repo=try&lineNumber=3307
Related PR #1025 didn't fix it. Need to investigate.
cc @nical @staktrace