From: Bas Nieuwenhuizen Date: Wed, 8 Mar 2017 20:34:53 +0000 (+0100) Subject: radv: Don't flush for fixed-function reading. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a600bbc8186fef9475bedfe6d58a54011a8022b;p=mesa.git radv: Don't flush for fixed-function reading. The data should always be in memory after a src flush. Signed-off-by: Bas Nieuwenhuizen Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 088a3c9025c..8c812084141 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -1491,7 +1491,6 @@ radv_dst_access_flush(struct radv_cmd_buffer *cmd_buffer, case VK_ACCESS_INDIRECT_COMMAND_READ_BIT: case VK_ACCESS_INDEX_READ_BIT: case VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT: - flush_bits |= RADV_CMD_FLAG_INV_VMEM_L1; break; case VK_ACCESS_UNIFORM_READ_BIT: flush_bits |= RADV_CMD_FLAG_INV_VMEM_L1 | RADV_CMD_FLAG_INV_SMEM_L1;