anv: document cache flushes & invalidations
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 18 Jan 2019 10:47:31 +0000 (10:47 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 19 Jan 2019 15:45:41 +0000 (15:45 +0000)
commit79514cc5fb687be76c5fdade0b3cffdf5bac67ea
tree85c23d3b63ddc0fae755c242a3de7d9ed6b2fd4c
parent3c4c18341aafbdd0c24665a56d0af32b1e4dc981
anv: document cache flushes & invalidations

A little bit of explanation regarding how vkCmdPipelineBarrier()
works.

v2: Avoid referring to data port cache when it's actually sampler
    caches (Jason)
    Complete explanation for indirect draws (Jason)

v3: s/samplers/sampler/ (Jason)
    s/UBOs/data port/
    Add documentation for VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT (Lionel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Eric Engestrom <eric.engestrom@intel.com> (v1)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
src/intel/vulkan/anv_private.h