anv: Pay attention to VK_ACCESS_MEMORY_(READ|WRITE)_BIT
authorAlex Smith <asmith@feralinteractive.com>
Fri, 20 Jul 2018 10:39:32 +0000 (11:39 +0100)
committerAlex Smith <asmith@feralinteractive.com>
Mon, 23 Jul 2018 14:29:43 +0000 (15:29 +0100)
commit54f8f1545fefd4a3e4dd6d025dd41ce521494ea4
tree545c97240f9099f3b59c48e4b57b1e3a2099ba99
parentdc938b8398c0dafb60507e41685f7518b681c24d
anv: Pay attention to VK_ACCESS_MEMORY_(READ|WRITE)_BIT

According to the spec, these should apply to all read/write access
types (so would be equivalent to specifying all other access types
individually). Currently, they were doing nothing.

v2: Handle VK_ACCESS_MEMORY_WRITE_BIT in dstAccessMask.

Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_private.h