Skip to content

[Impeller] Allow eager pre-flight but lazy waits of PSO setup tasks. #176656

@chinmaygarde

Description

@chinmaygarde

Today, Switch::ImpellerLazyShaderMode only allows for lazily setting up PSOs. While this makes it so that only the necessary PSOs are setup, it also pushes the setup into the first frames workload and slows time to first frame.

This issue tracks making only the waits be lazy but the preflight tasks be eagerly submitted for completion on a worker pool.

Once this task is done, we should remove Switch::ImpellerLazyShader mode and make it the default. The fast devices won't notice a difference because PSOs will be ready before the first frame. And the slow device will make maximal use of available device concurrency. Removing switches also makes the renderer less of a choose-your-own-adventure game.

Sub-issues

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions