diff options
Diffstat (limited to 'src/amd/vulkan/radv_query.c')
-rw-r--r-- | src/amd/vulkan/radv_query.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c index fd5d0659a9e..a29a05d4b84 100644 --- a/src/amd/vulkan/radv_query.c +++ b/src/amd/vulkan/radv_query.c @@ -211,7 +211,6 @@ void radv_CmdCopyQueryPoolResults( cmd_buffer->device->ws->cs_add_buffer(cmd_buffer->cs, pool->bo, 8); cmd_buffer->device->ws->cs_add_buffer(cmd_buffer->cs, dst_buffer->bo, 8); - cmd_buffer->no_draws = false; for(unsigned i = 0; i < queryCount; ++i, dest_va += stride) { unsigned query = firstQuery + i; @@ -311,7 +310,6 @@ void radv_CmdBeginQuery( va += pool->stride * query; cmd_buffer->device->ws->cs_add_buffer(cs, pool->bo, 8); - cmd_buffer->no_draws = false; switch (pool->type) { case VK_QUERY_TYPE_OCCLUSION: @@ -345,7 +343,6 @@ void radv_CmdEndQuery( va += pool->stride * query; cmd_buffer->device->ws->cs_add_buffer(cs, pool->bo, 8); - cmd_buffer->no_draws = false; switch (pool->type) { case VK_QUERY_TYPE_OCCLUSION: @@ -397,7 +394,6 @@ void radv_CmdWriteTimestamp( uint64_t query_va = va + pool->stride * query; cmd_buffer->device->ws->cs_add_buffer(cs, pool->bo, 5); - cmd_buffer->no_draws = false; MAYBE_UNUSED unsigned cdw_max = radeon_check_space(cmd_buffer->device->ws, cs, 12); |