nir/lower_variables: Add a bunch of comments and re-arrange a few things
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 Dec 2014 21:49:43 +0000 (13:49 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:20:23 +0000 (07:20 -0800)
commite2763339fe2592d17ba679d515eb4e338243d735
tree3f18688bc11c274ff41dc1ddd29a527d93307642
parent40ca129ed5aea647d103c99db926d3b2aabe4021
nir/lower_variables: Add a bunch of comments and re-arrange a few things

This commit seeks to make the lower_variables pass much more clear by
adding a pile of comments and re-arranging a few things.  There are no
functional or algorithmic changes.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_lower_variables.c