Closed
Bug 1621382
(sw-wr-perspective)
Opened 5 years ago
Closed 5 years ago
SWGL does not currently support perspective-correct rasterization
Categories
(Core :: Graphics: WebRender, defect, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: lsalzman, Assigned: lsalzman)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Ideally we need to support perspective-correct rasterization in SW-WR. However, this feature is generally expensive to support in all potential shaders, so we want to have a specific path in SWGL that is only used on some shaders. To that end there would need to be some cleanup in WebRender itself to ensure that only specific shaders trigger the use of perspective and that these are known ahead of time so that SWGL can preprocess and deal with these shaders specially.
This would encompass properly handling the perspective divide for Z values, near plane clipping and potentially also far plane clipping, and most likely using an explicit "smooth" keyword on attributes to signal attributes that require perspective-correct interpolation.
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/88a4ebce9de0
implement perspective-correct rasterization for SWGL shaders with PERSPECTIVE feature. r=jrmuizel
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•