diff options
author | Jonathan Marek <[email protected]> | 2020-02-24 10:26:02 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-24 21:52:45 +0000 |
commit | a9a990a60b4669bd0af920a060d87a8e3551058e (patch) | |
tree | ec47de9011c5f0053198a6f3d4012e5391169494 | |
parent | 2275343ba346b04ebf8bafbaedfcd707702f9c06 (diff) |
turnip: fix COND_EXEC reserved size in tu_query
Conditionally executed dwords must be in the same bo.
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3925>
-rw-r--r-- | src/freedreno/vulkan/tu_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_query.c b/src/freedreno/vulkan/tu_query.c index 7931a449fb5..5e3e2c1893a 100644 --- a/src/freedreno/vulkan/tu_query.c +++ b/src/freedreno/vulkan/tu_query.c @@ -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); |