From: Samuel Pitoiset Date: Fri, 27 Jul 2018 09:50:27 +0000 (+0200) Subject: radv: do not emit pipeline stats flushes on compute queue X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=434630f57ca75413729b1631387154659fcb9a32;p=mesa.git radv: do not emit pipeline stats flushes on compute queue Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/si_cmd_buffer.c b/src/amd/vulkan/si_cmd_buffer.c index e2bdbe889a5..2337036c67a 100644 --- a/src/amd/vulkan/si_cmd_buffer.c +++ b/src/amd/vulkan/si_cmd_buffer.c @@ -972,7 +972,9 @@ si_emit_cache_flush(struct radv_cmd_buffer *cmd_buffer) RADV_CMD_FLAG_FLUSH_AND_INV_DB_META | RADV_CMD_FLAG_PS_PARTIAL_FLUSH | RADV_CMD_FLAG_VS_PARTIAL_FLUSH | - RADV_CMD_FLAG_VGT_FLUSH); + RADV_CMD_FLAG_VGT_FLUSH | + RADV_CMD_FLAG_START_PIPELINE_STATS | + RADV_CMD_FLAG_STOP_PIPELINE_STATS); if (!cmd_buffer->state.flush_bits) return;