aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_blorp.c
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2019-01-15 15:48:43 -0800
committerRafael Antognolli <[email protected]>2019-01-17 15:08:22 -0800
commit643248b66a265242ef3de3dffdae79e1283eee31 (patch)
tree78acf8c7fca478f717a314069aaa6209180e28e5 /src/intel/vulkan/anv_blorp.c
parent5d61c74f3de0510289b2527562607042c4995094 (diff)
anv: Remove state flush.
We have all the state buffers snooped, so we don't need to clflush everything anymore. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_blorp.c')
-rw-r--r--src/intel/vulkan/anv_blorp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c
index 1be0e5a8b78..67e8d5abb04 100644
--- a/src/intel/vulkan/anv_blorp.c
+++ b/src/intel/vulkan/anv_blorp.c
@@ -718,8 +718,6 @@ void anv_CmdUpdateBuffer(
memcpy(tmp_data.map, pData, copy_size);
- anv_state_flush(cmd_buffer->device, tmp_data);
-
struct blorp_address src = {
.buffer = cmd_buffer->device->dynamic_state_pool.block_pool.bo,
.offset = tmp_data.offset,