summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r--src/vulkan/anv_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c
index 0ff5c9f7aa9..05303fe1ca6 100644
--- a/src/vulkan/anv_device.c
+++ b/src/vulkan/anv_device.c
@@ -707,6 +707,8 @@ anv_device_submit_simple_batch(struct anv_device *device,
return result;
memcpy(bo.map, batch->start, size);
+ if (!device->info.has_llc)
+ anv_clflush_range(bo.map, size);
exec2_objects[0].handle = bo.gem_handle;
exec2_objects[0].relocation_count = 0;