mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
turnip: fix COND_EXEC reserved size in tu_query
Conditionally executed dwords must be in the same bo. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3925>
This commit is contained in:
parent
2275343ba3
commit
a9a990a60b
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ emit_copy_occlusion_query_pool_results(struct tu_cmd_buffer *cmdbuf,
|
|||
* tests that ADDR0 != 0 and ADDR1 < REF. The packet here simply tests
|
||||
* that 0 < available < 2, aka available == 1.
|
||||
*/
|
||||
tu_cs_reserve_space(cmdbuf->device, cs, 7);
|
||||
tu_cs_reserve_space(cmdbuf->device, cs, 7 + 6);
|
||||
tu_cs_emit_pkt7(cs, CP_COND_EXEC, 6);
|
||||
tu_cs_emit_qw(cs, available_iova);
|
||||
tu_cs_emit_qw(cs, available_iova);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue