Skip to content
Snippets Groups Projects

dzn: Add support for queries

Merged Boris Brezillon requested to merge dzn-queries into dozen

I wish the implementation was simpler, but unfortunately, the vulkan and d3d12 query APIs are quite different:

  • vulkan users can get query results outside the command buffer
  • vulkan allows query begin/end and copy-results to be in different command buffers, thus forcing us to keep track of the query state
  • vulkan has the concept of availability which is an extra word encoding whether the results are valid or not
  • vulkan API allows the use to provide a stride along the result buffer
  • vulkan API allows non-blocking result retrieval

All these differences force us to keep track of the query state and do extra copies.

based on !49 (merged)

/cc @lfrb

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading