vulkan: Allow mapping images as "read" and/or "write"
authorBenjamin Otte <otte@redhat.com>
Thu, 15 Jun 2023 12:29:15 +0000 (14:29 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 19 Jun 2023 13:08:00 +0000 (15:08 +0200)
commitba28971a18339a4ee45e7a8f581ebbf80b2b4260
treed948c8c07bb4e0d5e52b09bccd360a8bb9a48bd0
parent7b4846bc25ed7003a1b6f7060d6bd3608fc8346c
vulkan: Allow mapping images as "read" and/or "write"

This way, we unify the code paths for memory access to textures.

We also technically gain the ability to modify images, though I have no
use case for this.
gsk/vulkan/gskvulkanbuffer.c
gsk/vulkan/gskvulkanbufferprivate.h
gsk/vulkan/gskvulkanimage.c
gsk/vulkan/gskvulkanimageprivate.h
gsk/vulkan/gskvulkanrenderpass.c