summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_meta_blit2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/anv_meta_blit2d.c')
-rw-r--r--src/intel/vulkan/anv_meta_blit2d.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_meta_blit2d.c b/src/intel/vulkan/anv_meta_blit2d.c
index 6d6127a8693..a7405e00810 100644
--- a/src/intel/vulkan/anv_meta_blit2d.c
+++ b/src/intel/vulkan/anv_meta_blit2d.c
@@ -468,7 +468,8 @@ anv_meta_blit2d_normal_dst(struct anv_cmd_buffer *cmd_buffer,
},
};
- anv_state_clflush(vb_state);
+ if (!device->info.has_llc)
+ anv_state_clflush(vb_state);
struct anv_buffer vertex_buffer = {
.device = device,
@@ -611,7 +612,8 @@ anv_meta_blit2d_w_tiled_dst(struct anv_cmd_buffer *cmd_buffer,
},
};
- anv_state_clflush(vb_state);
+ if (!device->info.has_llc)
+ anv_state_clflush(vb_state);
struct anv_buffer vertex_buffer = {
.device = device,