nir: handle get_buffer_size in nir_lower_atomics_to_ssbo
authorRob Clark <robdclark@gmail.com>
Sun, 5 Nov 2017 18:53:50 +0000 (13:53 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 10 Nov 2017 13:57:33 +0000 (08:57 -0500)
commitef4c42fc3ae468d6cb42fbb8564831549a3bdebe
tree392c4837e384d5849959b6ac936e8087c6763a48
parentcd6f79a71d75d5d756176a03f04c4442c0ef9e7f
nir: handle get_buffer_size in nir_lower_atomics_to_ssbo

Overlooked initially, be we need to remap the SSBO index for this as
well.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_lower_atomics_to_ssbo.c