nir: add missing group_memory_barrier handling
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 4 May 2020 17:54:11 +0000 (18:54 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 5 May 2020 18:34:02 +0000 (18:34 +0000)
commita46aa3dc2e4c5462630d40e152904b7d163c9233
tree96b984f63b336e6e1bff58995ac161a1401d4ab0
parent9a6bbf4c80ee9fc4294ec70073e1602ea527963c
nir: add missing group_memory_barrier handling

Totals from 2 (0.00% of 127638) affected shaders:
VGPRs: 164 -> 168 (+2.44%)
CodeSize: 18420 -> 18756 (+1.82%)
Instrs: 3658 -> 3700 (+1.15%)
Cycles: 82912 -> 83080 (+0.20%)
VMEM: 70 -> 69 (-1.43%)
PreVGPRs: 155 -> 168 (+8.39%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
CC: <mesa-stable@lists.freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4889>
src/compiler/nir/nir_opt_copy_prop_vars.c
src/compiler/nir/nir_opt_dead_write_vars.c