radv/gfx10: fix ngg_get_ordered_id
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 17 Dec 2019 09:01:50 +0000 (10:01 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 17 Dec 2019 12:34:18 +0000 (12:34 +0000)
commitd399f4f4144c2cde5d096630a627dc160270cc62
tree7d4607959558d44f88dce1406855499d01d58498
parent089c8f0b8da86a05bde8359c84085e0b795abf17
radv/gfx10: fix ngg_get_ordered_id

Ported from RadeonSI.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3133>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3133>
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_shader_args.h