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_blorp_exec.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_blorp_exec.c')
-rw-r--r-- | src/intel/vulkan/genX_blorp_exec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_blorp_exec.c b/src/intel/vulkan/genX_blorp_exec.c index 6b1f471850d..e9c85d56d5f 100644 --- a/src/intel/vulkan/genX_blorp_exec.c +++ b/src/intel/vulkan/genX_blorp_exec.c @@ -268,5 +268,4 @@ genX(blorp_exec)(struct blorp_batch *batch, cmd_buffer->state.gfx.vb_dirty = ~0; cmd_buffer->state.gfx.dirty = ~0; cmd_buffer->state.push_constants_dirty = ~0; - cmd_buffer->state.pending_pipe_bits |= ANV_PIPE_RENDER_TARGET_WRITES; } |