summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index f8f00e63af5..852dfd259c6 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -1677,6 +1677,7 @@ struct radv_image_view {
VkImageViewType type;
VkImageAspectFlags aspect_mask;
VkFormat vk_format;
+ unsigned plane_id;
uint32_t base_layer;
uint32_t layer_count;
uint32_t base_mip;
@@ -1713,6 +1714,8 @@ void radv_image_view_init(struct radv_image_view *view,
struct radv_device *device,
const VkImageViewCreateInfo* pCreateInfo);
+VkFormat radv_get_aspect_format(struct radv_image *image, VkImageAspectFlags mask);
+
struct radv_buffer_view {
struct radeon_winsys_bo *bo;
VkFormat vk_format;