v3dv: fix stencil view aspect selection of depth/stencil image
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 16 Feb 2023 08:21:38 +0000 (09:21 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Feb 2023 14:47:39 +0000 (14:47 +0000)
commit93952916c6d26b6bf1b8d295fe580f9bf688f7b2
tree1d4800479991bb877f3a05ca5ea3ba6dca2ee0b9
parenteba566c85405b0ae9418b93d1f3a392086a7694f
v3dv: fix stencil view aspect selection of depth/stencil image

Instead of fixing the swizzle to X001, we should compose this
swizzle with the image view's own swizzle.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21354>
src/broadcom/vulkan/v3dv_image.c