st/nir: run st_nir_opts after 64bit ops lowering
authorTapani Pälli <tapani.palli@intel.com>
Tue, 2 Apr 2019 05:56:07 +0000 (08:56 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 4 Apr 2019 04:38:10 +0000 (07:38 +0300)
CID: 1444309
Fixes: 9ab1b1d0227 "st/nir: Move 64-bit lowering later"
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/state_tracker/st_glsl_to_nir.cpp

index 8a58328ce4868211b621b7332b56a7a2994ad8fd..9a4e030413bf93a0841ebcadb48f7caab6f64c2e 100644 (file)
@@ -436,7 +436,7 @@ st_glsl_to_nir(struct st_context *st, struct gl_program *prog,
          lowered_64bit_ops |= progress;
       } while (progress);
 
-      if (progress)
+      if (lowered_64bit_ops)
          st_nir_opts(nir, is_scalar);
    }