diff options
author | Lionel Landwerlin <[email protected]> | 2019-01-17 17:00:14 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-01-19 15:45:41 +0000 |
commit | 3c4c18341aafbdd0c24665a56d0af32b1e4dc981 (patch) | |
tree | 11b8f3e43720705042695cb165682dc2ce4b5f13 /src/intel/vulkan/genX_gpu_memcpy.c | |
parent | 6ca652faf368427e3e6d57ef5456f78203b8207e (diff) |
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 <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]> (v1)
Diffstat (limited to 'src/intel/vulkan/genX_gpu_memcpy.c')
-rw-r--r-- | src/intel/vulkan/genX_gpu_memcpy.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |