Skip to content

[wgpu-core] encode commands on CommandEncoder.finish() #7679

@teoxoy

Description

@teoxoy

Right now we encode copy commands as soon as they are called and render/compute pass commands on pass.end(). We should move the encoding to CommandEncoder.finish() so that we have more information available to generate better barriers and (on d3d12) to manage descriptor heaps.

Related:

Metadata

Metadata

Assignees

Labels

kind: refactorMaking existing function faster or nicer

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions