ac/llvm: remove the -1 hack from ac_atomic_inc_wrap
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 19 Jun 2020 16:33:32 +0000 (18:33 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 9 Jul 2020 07:58:01 +0000 (09:58 +0200)
commit438392243fb284884e8499758064256fb3dad48d
tree2ce406f0325f696568a0fd0ea5d0dba62721cfbb
parent0c8873d85db371dea9ec34fefc6fec531aa404b9
ac/llvm: remove the -1 hack from ac_atomic_inc_wrap

To match the behavior of proprietary drivers.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5688>
src/amd/llvm/ac_nir_to_llvm.c