[Mesa-dev] [PATCH] radv: set image view type when decompressing depth surfaces
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Wed Sep 27 23:22:56 UTC 2017
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
On Wed, Sep 27, 2017 at 2:09 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> This was missing.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/amd/vulkan/radv_meta_decompress.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/amd/vulkan/radv_meta_decompress.c b/src/amd/vulkan/radv_meta_decompress.c
> index 4ff4e41ea7..fedcfad3ae 100644
> --- a/src/amd/vulkan/radv_meta_decompress.c
> +++ b/src/amd/vulkan/radv_meta_decompress.c
> @@ -311,6 +311,7 @@ radv_decompress_depth_image_inplace(struct radv_cmd_buffer *cmd_buffer,
> &(VkImageViewCreateInfo) {
> .sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,
> .image = radv_image_to_handle(image),
> + .viewType = radv_meta_get_view_type(image),
> .format = image->vk_format,
> .subresourceRange = {
> .aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT,
> --
> 2.14.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list