diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-08-05 01:07:04 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-08-07 02:13:07 +0200 |
commit | 216a9d887163122d2e1f959a816b6ec0b918d159 (patch) | |
tree | 58a699380756d59f70a9cb3b0146da0c2bff56a4 /src/amd/vulkan/radv_private.h | |
parent | 50add1b33ae3c56ba4692e9f1524466887c1583e (diff) |
radv: Add extra struct to image view creation.
For extra args. Unlike image creation, I'm not embedding the vk
struct in there, so all the inline structs can be kept.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 2e7d6975ca7..fbc4542cd72 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1882,9 +1882,13 @@ radv_image_from_gralloc(VkDevice device_h, const VkAllocationCallbacks *alloc, VkImage *out_image_h); +struct radv_image_view_extra_create_info { +}; + void radv_image_view_init(struct radv_image_view *view, struct radv_device *device, - const VkImageViewCreateInfo* pCreateInfo); + const VkImageViewCreateInfo *pCreateInfo, + const struct radv_image_view_extra_create_info* extra_create_info); VkFormat radv_get_aspect_format(struct radv_image *image, VkImageAspectFlags mask); |