diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-06-25 22:25:47 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-06-26 01:24:50 +0200 |
commit | 78bef01da2b41fec6fb82d8e6ccacf594d0a6b93 (patch) | |
tree | 366e0c30c298797ddce2152d1e3aedd5fe20dd5f /src/amd/vulkan/radv_image.c | |
parent | 789f480029500d2aae7e5131b216e5a1cde92bc8 (diff) |
radv: Remove unused args of radv_image_view_init.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_image.c')
-rw-r--r-- | src/amd/vulkan/radv_image.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 91c7e5ff79f..147ebed7341 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -837,9 +837,7 @@ radv_image_create(VkDevice _device, void radv_image_view_init(struct radv_image_view *iview, struct radv_device *device, - const VkImageViewCreateInfo* pCreateInfo, - struct radv_cmd_buffer *cmd_buffer, - VkImageUsageFlags usage_mask) + const VkImageViewCreateInfo* pCreateInfo) { RADV_FROM_HANDLE(radv_image, image, pCreateInfo->image); const VkImageSubresourceRange *range = &pCreateInfo->subresourceRange; @@ -1013,7 +1011,7 @@ radv_CreateImageView(VkDevice _device, if (view == NULL) return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); - radv_image_view_init(view, device, pCreateInfo, NULL, ~0); + radv_image_view_init(view, device, pCreateInfo); *pView = radv_image_view_to_handle(view); |