From 3c4c18341aafbdd0c24665a56d0af32b1e4dc981 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 17 Jan 2019 17:00:14 +0000 Subject: anv: narrow flushing of the render target to buffer writes In commit 9a7b3199037ac4 ("anv/query: flush render target before copying results") we tracked all the render target writes to apply a flushes in the vkCopyQueryResults(). But we can narrow this down to only when we write a buffer (which is the only input of vkCopyQueryResults). v2: Drop newer render target write flags introduce by 1952fd8d2ce905 ("anv: Implement VK_EXT_conditional_rendering for gen 7.5+") Signed-off-by: Lionel Landwerlin Reviewed-by: Jason Ekstrand (v1) --- src/intel/vulkan/genX_gpu_memcpy.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/intel/vulkan/genX_gpu_memcpy.c') diff --git a/src/intel/vulkan/genX_gpu_memcpy.c b/src/intel/vulkan/genX_gpu_memcpy.c index 8f3700c80e3..7ef14dd14ef 100644 --- a/src/intel/vulkan/genX_gpu_memcpy.c +++ b/src/intel/vulkan/genX_gpu_memcpy.c @@ -299,5 +299,4 @@ genX(cmd_buffer_so_memcpy)(struct anv_cmd_buffer *cmd_buffer, } cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_PIPELINE; - cmd_buffer->state.pending_pipe_bits |= ANV_PIPE_RENDER_TARGET_WRITES; } -- cgit v1.2.3