ac: fix incorrect bindless atomic code in visit_image_atomic
authorMarek Olšák <marek.olsak@amd.com>
Fri, 12 Apr 2019 15:39:02 +0000 (11:39 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 15 Apr 2019 16:52:02 +0000 (12:52 -0400)
commitdbab755ecf7dd3cc1bfce97b9069dcdfc262adff
tree5e704b6dd18f774e3a8ca50b73b8829c6ed0ba74
parent8671cfe2a203f2d5492eb22eeb2694e0e37239d9
ac: fix incorrect bindless atomic code in visit_image_atomic

Coverity: CID 1444664

Fixes: d62d434fe920 ("ac/nir_to_llvm: add image bindless support")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/common/ac_nir_to_llvm.c