glthread: don't use atomics for refcounting to decrease overhead on AMD Zen
authorMarek Olšák <marek.olsak@amd.com>
Sun, 22 Mar 2020 18:45:14 +0000 (14:45 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Apr 2020 22:01:55 +0000 (22:01 +0000)
commitbefbd54864d2959b83e3d2d46d0825f19cb4fc46
tree5bad3284c34e2dbe214caa63ee305382a1b05782
parent7f22e0fd29369f478da1d36520049f001cd698d1
glthread: don't use atomics for refcounting to decrease overhead on AMD Zen

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4314>
src/mesa/main/glthread.h
src/mesa/main/glthread_bufferobj.c