From: Dave Airlie Date: Wed, 15 Feb 2017 00:15:39 +0000 (+0000) Subject: radv: also fixup event emission to not get culled. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4b19afebeac84ddce3f1f8b7ffe0da6474fe29a;p=mesa.git radv: also fixup event emission to not get culled. This is possibly a bad idea, I might have to consider a better one. Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 8a92ffbe0a7..75149c5ba1a 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -2890,6 +2890,7 @@ static void write_event(struct radv_cmd_buffer *cmd_buffer, uint64_t va = cmd_buffer->device->ws->buffer_get_va(event->bo); cmd_buffer->device->ws->cs_add_buffer(cs, event->bo, 8); + cmd_buffer->no_draws = false; MAYBE_UNUSED unsigned cdw_max = radeon_check_space(cmd_buffer->device->ws, cs, 12);