summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-04-02 08:56:07 +0300
committerTapani Pälli <[email protected]>2019-04-04 07:38:10 +0300
commit3cea9f981a14db797afb10225623acb96bd1c107 (patch)
treeec8dc38d9161f4a662b25514973bee2465cf2597 /src/mesa/state_tracker
parentb34d8222c7874bded1d8b3849252f40aadc7e1b5 (diff)
st/nir: run st_nir_opts after 64bit ops lowering
CID: 1444309 Fixes: 9ab1b1d0227 "st/nir: Move 64-bit lowering later" Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_nir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp
index 8a58328ce48..9a4e030413b 100644
--- a/src/mesa/state_tracker/st_glsl_to_nir.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp
@@ -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);
}