OSDN Git Service

intel/nir: Re-run int64 lowering in postprocess_nir
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 10 Jan 2019 22:05:06 +0000 (16:05 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 19 Apr 2019 19:56:42 +0000 (19:56 +0000)
commitb1a633d9fb077f1e024f5628ec2034d26cf681b7
tree238eef81b9112b5dc1346822d64c039d65eeb872
parent995dc4e5c36dad47f5e289e0b1d8095b21729881
intel/nir: Re-run int64 lowering in postprocess_nir

We're about to start doing 64-bit pointer calculations in ANV.  They
will get applied after brw_preprocess_nir which is where we currently do
64-bit integer arithmetic lowering.  Because we're adding 64-bit integer
arithmetic after the initial lowering has happened, we need to lower
again.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/compiler/brw_nir.c