anv: clflush is only orderered against mfence
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Fri, 29 Jan 2016 20:10:12 +0000 (12:10 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Fri, 29 Jan 2016 22:56:41 +0000 (14:56 -0800)
commit0c4ef36360627686a0f3b56d64409ffb8bfbcb8c
tree3cd995aca976d404cbb5071dc7a56d612293b2af
parent31d3486bd2dda4b9dd65c8b24544b8f8cb54054b
anv: clflush is only orderered against mfence

We can't use the more fine-grained load and store fence commands (lfence
and mfence), since clflush is only guaranteed to be ordered with respect
to mfence.
src/vulkan/anv_batch_chain.c
src/vulkan/anv_device.c
src/vulkan/anv_private.h