commit | 202751fbb7e3d35c1aa84f325f862245dab67f6c | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Mon Jun 13 12:47:19 2016 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Mon Jun 20 12:02:45 2016 -0700 |
tree | 3a7b17967f2e58e12a7110c9a4c4fd9950a8643c | |
parent | 68e308d85355079ad93bd4e16cba164784740fdf [diff] |
nir: Add a pass for propagating invariant decorations This pass is similar to propagate_invariance in the GLSL compiler. The real "output" of this pass is that any algebraic operations which are eventually consumed by an invariant variable get marked as "exact". Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Cc: "12.0" <mesa-stable@lists.freedesktop.org>