Closed
Bug 1664479
Opened 5 years ago
Closed 5 years ago
Optimize cs_blur shader for SWGL
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: lsalzman, Assigned: lsalzman)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The cs_blur shader contains a number of things that could easily be precalculated in the vertex shader to reduce the number of operations and branching. A lot of these show up in the profiler for SWGL, such as the sigma math at the beginning of the fragment shader to initialize the gauss coefficients.
Fixing this should make it faster for both HW and SWGL cases. This may obviate the need to do more intensive SWGL optimize of blurring until later...
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fff9280e69f3
optimize cs_blur shader for SWGL. r=gw
Comment 3•5 years ago
|
||
Backed out changeset fff9280e69f3 (bug 1664479) for causing bustages.
Backout link: https://hg.mozilla.org/integration/autoland/rev/4cf4f82f9dde27681c391d4c133c9ea753d0209f
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=315589142&repo=autoland&lineNumber=52690
...
[task 2020-09-14T02:01:16.772Z] 02:01:16 INFO - [style 0.0.1] cargo:rerun-if-changed=/builds/worker/workspace/obj-build/dist/include/nsCharTraits.h
[task 2020-09-14T02:01:16.772Z] 02:01:16 INFO - [style 0.0.1] cargo:rerun-if-changed=/builds/worker/workspace/obj-build/dist/include/nsTDependentString.h
[task 2020-09-14T02:01:16.772Z] 02:01:16 INFO - error: build failed
[task 2020-09-14T02:01:16.772Z] 02:01:16 ERROR - make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:303: force-cargo-library-build] Error 101
[task 2020-09-14T02:01:16.772Z] 02:01:16 INFO - make[4]: Leaving directory '/builds/worker/workspace/obj-build/toolkit/library/gtest/rust'
[task 2020-09-14T02:01:16.772Z] 02:01:16 ERROR - make[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: toolkit/library/gtest/rust/target] Error 2
[task 2020-09-14T02:01:16.772Z] 02:01:16 INFO - make[3]: *** Waiting for unfinished jobs....
Flags: needinfo?(lsalzman)
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(lsalzman)
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ca66708049b8
optimize cs_blur shader for SWGL. r=gw
Comment 5•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•