zink: Only expose PIPE_CAP_IMAGE_ATOMIC_FLOAT_ADD if we can actually add.
authorEmma Anholt <emma@anholt.net>
Tue, 3 Jan 2023 22:17:48 +0000 (14:17 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 5 Jan 2023 00:55:18 +0000 (00:55 +0000)
commit426cb025e7fd09d94713c84bc02ef7b9aaad3fa8
tree2cc23f7924edff5bd6d90a8fa512291495a49ee5
parenta4a1f95431ae8a8194758436edf64b415efe7e29
zink: Only expose PIPE_CAP_IMAGE_ATOMIC_FLOAT_ADD if we can actually add.

Drivers may expose the ext without the add capability, if they can
load/store/exchange.

Fixes: c32f046ab669 ("zink: export PIPE_CAP_IMAGE_ATOMIC_FLOAT_ADD")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20506>
src/gallium/drivers/zink/ci/zink-anv-tgl-fails.txt
src/gallium/drivers/zink/ci/zink-radv-fails.txt
src/gallium/drivers/zink/zink_screen.c