turnip: fix VK_IMAGE_ASPECT_STENCIL_BIT image view
authorJonathan Marek <jonathan@marek.ca>
Thu, 12 Dec 2019 22:01:52 +0000 (17:01 -0500)
committerJonathan Marek <jonathan@marek.ca>
Fri, 13 Dec 2019 01:33:17 +0000 (20:33 -0500)
commit5fd9fd35164cc3b3284579fcb37c4ba575076ca4
treee410b49b36b7122dafad8ee0650c085c27afbb49
parente71f79f6c64c47f6db0f894726ce80eb68a8416b
turnip: fix VK_IMAGE_ASPECT_STENCIL_BIT image view

Use a special format which allows sampling the stencil and set the correct
swizzle.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/vulkan/tu_image.c