mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 05:40:33 +01:00
anv: add missing query clear flush for acceleration structure queries
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: a787728906 ("anv: enable blorp query reset for performance queries")
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23675>
This commit is contained in:
parent
4431e5a222
commit
1f72296f2c
1 changed files with 3 additions and 0 deletions
|
|
@ -1848,6 +1848,9 @@ genX(CmdWriteAccelerationStructuresPropertiesKHR)(
|
|||
queryType == VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SIZE_KHR ||
|
||||
queryType == VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR);
|
||||
|
||||
emit_query_clear_flush(cmd_buffer, pool,
|
||||
"CmdWriteAccelerationStructuresPropertiesKHR flush query clears");
|
||||
|
||||
struct mi_builder b;
|
||||
mi_builder_init(&b, cmd_buffer->device->info, &cmd_buffer->batch);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue