diff options
author | Samuel Pitoiset <[email protected]> | 2018-07-27 11:50:27 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-07-27 14:31:26 +0200 |
commit | 434630f57ca75413729b1631387154659fcb9a32 (patch) | |
tree | 119fcad4956e4aced62e44cfecd34f2542d1b2a2 /src/amd | |
parent | c118c8938c32b49935591fe7aa4cc5fa0ad13adb (diff) |
radv: do not emit pipeline stats flushes on compute queue
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/si_cmd_buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |