nir/opt_uniform_atomics: optimize image atomics
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 1 Sep 2020 16:40:32 +0000 (17:40 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 12:47:21 +0000 (12:47 +0000)
commitbc4365052252a33a10a95e4571bc4336f238fe39
treef69c9edb1eb1ce6f1f7fcfc9c633d15945a28be7
parentbcf7a70008f238997ac002ed027fff44b6ca01e4
nir/opt_uniform_atomics: optimize image atomics

fossil-db (Navi):
Totals from 65 (0.05% of 135946) affected shaders:
SGPRs: 3792 -> 3784 (-0.21%)
VGPRs: 2784 -> 2716 (-2.44%)
CodeSize: 707492 -> 713080 (+0.79%)
MaxWaves: 873 -> 887 (+1.60%)
Instrs: 133376 -> 134524 (+0.86%)
Cycles: 3004772 -> 3011440 (+0.22%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6558>
src/compiler/nir/nir_opt_uniform_atomics.c