summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_image.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_image.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_image.c')
-rw-r--r--src/intel/vulkan/anv_image.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index 3a672c24b21..3999c7399d0 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -1327,8 +1327,6 @@ anv_image_fill_surface_state(struct anv_device *device,
}
}
- anv_state_flush(device, state_inout->state);
-
if (image_param_out) {
assert(view_usage == ISL_SURF_USAGE_STORAGE_BIT);
isl_surf_fill_image_param(&device->isl_dev, image_param_out,