Closed Bug 1419939 Opened 2 years ago Closed Last year
Add an environment variable to force pre-caching shaders
When initializing WR, setting precache_shaders in the RendererOptions forces all shaders to be pre-compiled on startup. This is useful until we have proper shader caching when benchmarking. For instance, the MotionMark test runner gets confused when there is an initial stall while the shaders are compiled on first use.
2 years ago
Priority: -- → P3
Whiteboard: [wr-mvp] [triage] → [wr-mvp] [triage][wr-reserve-candidate]
Whiteboard: [wr-mvp] [triage][wr-reserve-candidate] → [wr-reserve]
I made the variable name up, since I didn't see another similar thing. Let me know if I should change it.
Comment on attachment 9003840 [details] Add an env var to precache shaders. Dzmitry Malyshau [:kvark] has approved the revision.
Attachment #9003840 - Flags: review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/48905d7f2d9d Add an env var to precache shaders. r=kvark
You need to log in before you can comment on or make changes to this bug.