Closed Bug 1888628 Opened 11 months ago Closed 10 months ago

Extract the texture sampling code out of ps_quad

Categories

(Core :: Graphics: WebRender, task, P3)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: nical, Assigned: nical)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

It will remove two varyings from the (limited) set that is shared by every shader and simplify the common infrastructure.

This simplifies the common infrastructure, removes two varyings from the common set and will allow other patterns to handle sampling differently if they need it (for example an upcoming repeating pattern.

In addition, v_flags was reorganized a bit so that w is used by the common infrastructure and xyz are available for patterns to use.

Assignee: nobody → nical.bugzilla
Attachment #9393946 - Attachment description: WIP: Bug 1888628 - Extract the texture sampling logic out of ps_quad.glsl → Bug 1888628 - Extract the texture sampling logic out of ps_quad.glsl. r=gw
Status: NEW → ASSIGNED
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/19552414c809 Extract the texture sampling logic out of ps_quad.glsl. r=gw
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3b76cb83627a Extract the texture sampling logic out of ps_quad.glsl. r=gw
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Regressions: 1891898
Regressions: 1889712
Regressions: 1891907
Regressions: 1892018
Flags: needinfo?(nical.bugzilla)

Perfherder has detected a talos performance change from push 3b76cb83627af4607b79caf70a03243e6ee6369b.

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
16% rasterflood_gradient linux1804-64-shippable-qr e10s fission stylo webrender-sw 915.33 -> 1,058.50
10% rasterflood_gradient macosx1015-64-shippable-qr e10s fission stylo webrender-sw 1,216.67 -> 1,333.42
10% rasterflood_gradient macosx1015-64-shippable-qr e10s fission stylo webrender-sw 1,212.17 -> 1,327.33
4% rasterflood_gradient windows10-64-shippable-qr e10s fission stylo webrender-sw 1,296.42 -> 1,343.25

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.

You can run these tests on try with ./mach try perf --alert 15

For more information on performance sheriffing please see our FAQ.

(perf sheriffs may have missed on posting the comment here)

Regressions: 1897444
Regressions: 1899081
Regressions: 1904190
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: