nir: use common deref has indirect code in scratch lowering.
authorDave Airlie <airlied@redhat.com>
Wed, 31 Jul 2019 04:05:49 +0000 (14:05 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Jul 2019 22:32:12 +0000 (08:32 +1000)
commit7ad6ec80d96f9dd3311f7897fc1001f5afcb2f51
tree72f696154bce75ea372304ed2d2f3b4cb0658bc6
parent5d7bcac4e711bc278eabf198d7d5016b77d9eb0e
nir: use common deref has indirect code in scratch lowering.

This doesn't seem to need it's own copy here.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_scratch.c