gallium + mesa/st: Add PIPE_CAP_NIR_ATOMICS_AS_DEREF and use it
authorGert Wollny <gert.wollny@collabora.com>
Sat, 27 Jun 2020 20:40:56 +0000 (22:40 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Sun, 9 Aug 2020 13:45:32 +0000 (13:45 +0000)
commita03e24aa7faafe2dca77150e709727d4276b08cb
treec821a555ea526e2cdc3cab9f03041fec9e2a1766
parentdd003abd2fc989991b01400ab6614f83d3595ded
gallium + mesa/st: Add PIPE_CAP_NIR_ATOMICS_AS_DEREF and use it

This cap is useful for drivers that support hardware atomics and need
special handling to resolve their addresses.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6025>
docs/gallium/screen.rst
src/gallium/auxiliary/util/u_screen.c
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_glsl_to_nir.cpp