Skip to content

Capturing too much? #16

Description

@greggman

So I added a Resource view. At the top of the "Steps" pane, click "Resources". It shows all the objects (textures, buffers, etc...)

It's saving too much. I guess if capture is not on we can discard any canvas textures and after a frame or so discard any command buffers that have been submitted?

Activity

  1. Kangz commented on Nov 3, 2022

    @Kangz
    Collaborator

    Textures have a "state" that can be "destroyed" if they are a canvas texture that has been presented. The UI could filter them out maybe? (and we could add the same for command buffers etc). However it seems hard to know exactly what resources to capture or not on beginTrace because textures may be referenced in bind groups that are referenced in commands etc. So I don't know that we can remove these from the trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions