[Mesa-dev] [PATCH 2/2] radv: do not emit pipeline stats flushes on compute queue

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Jul 27 09:55:30 UTC 2018


Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/amd/vulkan/si_cmd_buffer.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/amd/vulkan/si_cmd_buffer.c b/src/amd/vulkan/si_cmd_buffer.c
index e2bdbe889a..2337036c67 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;
-- 
2.18.0



More information about the mesa-dev mailing list