Extend the quad shader infrastructure to support more patterns
Categories
(Core :: Graphics: WebRender, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
References
Details
Attachments
(11 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Comment 1•9 months ago
|
||
Assignee | ||
Comment 2•9 months ago
|
||
Comment 4•9 months ago
|
||
Backed out for causing webrender bustages
- Backout link
- Push with failures
- Failure Log
- Failure line: [task 2024-03-08T08:25:36.144Z] error: test failed, to rerun pass
-p webrender --test angle_shader_validation
Updated•9 months ago
|
Assignee | ||
Comment 5•9 months ago
|
||
Assignee | ||
Comment 6•9 months ago
|
||
Assignee | ||
Comment 7•9 months ago
|
||
Assignee | ||
Comment 8•9 months ago
|
||
Assignee | ||
Comment 9•9 months ago
|
||
A minor cosmetic thing. It does not do much so that's one less indrection when following the code.
Assignee | ||
Comment 10•9 months ago
|
||
This way rust-analyzer stops constantly trying to put it all in a single line.
Assignee | ||
Comment 11•9 months ago
|
||
Moving vLocalPos from ps_quad_textured to ps_quad pushed the number of varying slots in ps_quad_mask over the limit (16). vLocalPos is going to be used by some patterns in addition to the texture code so ifdef'ing it out is inconvenient. It is simpler to win back a varying slot by packing the clip planes.
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 12•9 months ago
|
||
It's convenient for shaders that need to fetch data from two different places and we have a spare slot in the quad header. It's not strictly necessary if we want the spare slot for something else, since we could use the integer gpu buffer as an indirection for when we need more than one address (although that's a tad convoluted and inefficient).
Assignee | ||
Comment 13•9 months ago
|
||
Comment 14•8 months ago
|
||
Comment 15•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c3d3d9ee4329
https://hg.mozilla.org/mozilla-central/rev/702ac9db5591
https://hg.mozilla.org/mozilla-central/rev/364452a457a8
https://hg.mozilla.org/mozilla-central/rev/4a2e9567e4ad
https://hg.mozilla.org/mozilla-central/rev/79e625ff25cf
https://hg.mozilla.org/mozilla-central/rev/0e99a257162d
https://hg.mozilla.org/mozilla-central/rev/909b283eb553
https://hg.mozilla.org/mozilla-central/rev/2144dd0e8da3
https://hg.mozilla.org/mozilla-central/rev/20f68c1570eb
https://hg.mozilla.org/mozilla-central/rev/43d89580ba9c
Comment 16•8 months ago
|
||
Comment 17•8 months ago
|
||
bugherder |
Description
•