mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
anv/query: Write both dwords in emit_zero_queries
Each query slot is a uint64_t and we were only zeroing half of it.
Fixes: 7ec6e4e689 "anv/query: implement multiview interactions"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
c0420a62c9
commit
07e214f1ce
1 changed files with 5 additions and 0 deletions
|
|
@ -347,6 +347,11 @@ emit_zero_queries(struct anv_cmd_buffer *cmd_buffer,
|
|||
sdi.Address.offset = slot_offset + j * sizeof(uint64_t);
|
||||
sdi.ImmediateData = 0ull;
|
||||
}
|
||||
anv_batch_emit(&cmd_buffer->batch, GENX(MI_STORE_DATA_IMM), sdi) {
|
||||
sdi.Address.bo = &pool->bo;
|
||||
sdi.Address.offset = slot_offset + j * sizeof(uint64_t) + 4;
|
||||
sdi.ImmediateData = 0ull;
|
||||
}
|
||||
}
|
||||
emit_query_availability(cmd_buffer, &pool->bo, slot_offset);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue