nv50/ir: fix image stores with indirect handles
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 5 Jun 2018 20:09:32 +0000 (21:09 +0100)
committerKarol Herbst <kherbst@redhat.com>
Fri, 29 Jun 2018 14:07:59 +0000 (16:07 +0200)
commitd885303a384978eeefdb2a264ca747292eff0b86
treee9dd466b45730b2f13b9db8c6394385d46a0e0dc
parentd7c4ce1d1d800a4721122a20b5a289951e7f4fbc
nv50/ir: fix image stores with indirect handles

Having this if statement here prevented the next if statement from being
reached in the case of image stores, which is needed for instructions with
indirect bindless handles like "STORE TEMP[ADDR[2].x+1](1) ...".

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp