commit | 071a87ac7f9e218b2f11be85d04b4786a3e6dad6 | [log] [tgz] |
---|---|---|
author | Rhys Perry <pendingchaos02@gmail.com> | Mon Jan 04 13:06:15 2021 +0000 |
committer | Dylan Baker <dylan.c.baker@intel.com> | Wed Jan 06 09:31:43 2021 -0800 |
tree | 5d63ccbd7b2d74631976a3cd86634ee502f20128 | |
parent | e9146fe6fb4053abbab3ebe1620fdfa15b2e2a43 [diff] |
ac/nir: use llvm.readcyclecounter for LLVM9+ Unlike llvm.amdgcn.s.memtime, this works on GFX10.3 Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4033 Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8306> (cherry picked from commit c5973ede01c4d5458b3d487f7b7486707d905c52)