zink: force 4 component formats for samplerview/render textures
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 7 Aug 2020 13:41:12 +0000 (09:41 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sun, 7 Feb 2021 23:16:27 +0000 (23:16 +0000)
commit84821964eb6a6962a862223865d44e3c236df66f
tree69328622f623d86a6389179bb87976b30039c297
parentb45c8a8671e93952ca94118bad4c0be532f1f628
zink: force 4 component formats for samplerview/render textures

this fixes a bunch of issues with 3-component formats, which aren't supported
for various operations on certain drivers

Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8697>
src/gallium/drivers/zink/zink_screen.c