zink: don't force attachment usage for images when unsupported
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 10 Oct 2022 11:58:13 +0000 (07:58 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 28 Oct 2022 00:51:48 +0000 (00:51 +0000)
commitf2d3826dac55975db70101afd94b02ff13d2c0a9
tree5290565bce6978a69ac37c2da198b54d247bcd56
parent8de17393f5c11e5de6d1966e59888cf10102507c
zink: don't force attachment usage for images when unsupported

this is illegal even with EXTENDED_USAGE, but it will also probably
explode later when trying to populate the image

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19018>
src/gallium/drivers/zink/zink_resource.c