summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_meta_blit.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-04-08 17:07:49 -0700
committerJason Ekstrand <[email protected]>2016-04-08 17:07:49 -0700
commitd4a28ae52abddd37c2adc6bb1f4e4b2de76a16fa (patch)
treef4200e47651c785e0d4b98e9c146807db96ba43c /src/intel/vulkan/anv_meta_blit.c
parentc226e72a399199a71579f22e5b088f50b1a10ac1 (diff)
anv/meta: Make clflushes conditional on !devinfo->has_llc
Diffstat (limited to 'src/intel/vulkan/anv_meta_blit.c')
-rw-r--r--src/intel/vulkan/anv_meta_blit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_meta_blit.c b/src/intel/vulkan/anv_meta_blit.c
index b726b94c3cd..24e47142a5c 100644
--- a/src/intel/vulkan/anv_meta_blit.c
+++ b/src/intel/vulkan/anv_meta_blit.c
@@ -186,7 +186,8 @@ meta_emit_blit(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,