Mesa (master): vc4: Use nir_lower_load_const_to_scalar().
Eric Anholt
anholt at kemper.freedesktop.org
Wed Aug 5 03:10:46 UTC 2015
Module: Mesa
Branch: master
Commit: ee47d13abbc6770b4e6513c894ede56b1e846785
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee47d13abbc6770b4e6513c894ede56b1e846785
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 3 17:36:47 2015 -0700
vc4: Use nir_lower_load_const_to_scalar().
---
src/gallium/drivers/vc4/vc4_program.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index 307667e..e9120b7 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -2032,6 +2032,7 @@ vc4_shader_ntq(struct vc4_context *vc4, enum qstage stage,
nir_convert_to_ssa(c->s);
vc4_nir_lower_io(c);
nir_lower_idiv(c->s);
+ nir_lower_load_const_to_scalar(c->s);
vc4_optimize_nir(c->s);
More information about the mesa-commit
mailing list