From b1a633d9fb077f1e024f5628ec2034d26cf681b7 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 10 Jan 2019 16:05:06 -0600 Subject: [PATCH] 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 Reviewed-by: Caio Marcelo de Oliveira Filho --- src/intel/compiler/brw_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index 19ee87c0b00..4aa7905e4c4 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -854,6 +854,7 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler, UNUSED bool progress; /* Written by OPT */ OPT(brw_nir_lower_mem_access_bit_sizes); + OPT(nir_lower_int64, nir->options->lower_int64_options); do { progress = false; -- 2.30.2