radv: Fix event write cmdbuffer allocation when tracing.

The trace emit is another 7 words.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7091>
This commit is contained in:
Bas Nieuwenhuizen
2020-10-08 12:34:30 +02:00
committed by Marge Bot
parent 98f538dfca
commit ea778693bf

View File

@@ -6310,7 +6310,7 @@ static void write_event(struct radv_cmd_buffer *cmd_buffer,
radv_cs_add_buffer(cmd_buffer->device->ws, cs, event->bo);
ASSERTED unsigned cdw_max = radeon_check_space(cmd_buffer->device->ws, cs, 21);
ASSERTED unsigned cdw_max = radeon_check_space(cmd_buffer->device->ws, cs, 28);
/* Flags that only require a top-of-pipe event. */
VkPipelineStageFlags top_of_pipe_flags =