radv: Generate storage image descriptors unconditionally
authorAlex Smith <asmith@feralinteractive.com>
Fri, 21 Jul 2017 16:00:00 +0000 (17:00 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 21 Jul 2017 20:40:29 +0000 (06:40 +1000)
commitaf9d6a8a99fa67bade628028b7265ae21445a930
treec3e05e416608b8640417d6c7eca0bb0091ba81da
parentd1e7153228304eb1be85580cbfdea1a57c5f203b
radv: Generate storage image descriptors unconditionally

We can also use storage images internally for resolves, which don't
require TRANSFER_DST usage on the image, so currently we may not create
the needed descriptors.

Just create these descriptors unconditionally.

Fixes: 0e1886efb9e ("radv: Fix descriptors for cube images with VK_IMAGE_USAGE_STORAGE_BIT")
Reported-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c