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)
committerEric Engestrom <eric@engestrom.ch>
Wed, 11 Jan 2023 17:44:21 +0000 (17:44 +0000)
commitcb971d5e5372c72a72a2c035ce4d3088396f2866
tree44f447c3d92518182fca409ee837b8c9090b22a7
parenta5f33e0350646e42e3cd4656143949a61b041698
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>
(cherry picked from commit 426cb025e7fd09d94713c84bc02ef7b9aaad3fa8)
.pick_status.json
src/gallium/drivers/zink/ci/zink-radv-fails.txt
src/gallium/drivers/zink/zink_screen.c