r600/sfn: Sort uniforms by binding and offset
authorGert Wollny <gert.wollny@collabora.com>
Tue, 21 Jul 2020 09:43:08 +0000 (11:43 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Sun, 9 Aug 2020 13:45:33 +0000 (13:45 +0000)
commitdf2acf8e26a88bef535e286ea52cbd5c6ec0d66c
tree5453e6aa7d3b04f3501fbbe4160fa90d0317fd5f
parenta828f6c5139c8e6f54e6341d8a6a00dc25916cdc
r600/sfn: Sort uniforms by binding and offset

This is required to get atomics right.

v2: rebase to use global variable lists

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6025>
src/gallium/drivers/r600/sfn/sfn_nir.cpp