Skip to content

Issue with timestamp queries with multi-pass #480

@alienself

Description

@alienself

Hi,

I encountered an issue with the TimestampQueryManager while working with the timestamp query example. It functions correctly when measuring a single pass. However, when multiple passes are measured from the same command encoder, the timing results become inconsistent.

For example, in my project, I have two passes:

  • One pass takes approximately 5ms when measured individually.
  • The other pass takes 0.3ms when measured individually.

However, when both passes are measured simultaneously, the results indicate that both passes take around 5ms, which is unexpected unless perhaps I am missing something?

@greggman Any idea what could cause this?

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