Closed Bug 1664459 Opened 5 years ago Closed 5 years ago

Simplify WebRender radial gradient shader

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: lsalzman, Assigned: lsalzman)

References

Details

Attachments

(1 file)

It looks like the radial gradient shader bit-rotted ages ago due to https://github.com/servo/webrender/issues/2439 and subsequent commit https://github.com/servo/webrender/commit/54d0f7f0fe2b70cd023609cf814db8e0c47c9a7b

We don't need to solve a full quadratic anymore and this shader can be massively simplified to both remove the quadratic equation and the discard.

Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/83968b707429 simplify WebRender radial gradient shader. r=mattwoodrow
Flags: needinfo?(lsalzman)
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3f95f66b7de simplify WebRender radial gradient shader. r=mattwoodrow
Flags: needinfo?(lsalzman)
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/85e23b4d97ac simplify WebRender radial gradient shader. r=mattwoodrow
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Blocks: 1665271
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: