nir/variable: Remove the constant_value field
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Dec 2014 22:55:45 +0000 (14:55 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:20:23 +0000 (07:20 -0800)
commitb95fae034fad9471f179761790bd1f01f8bade5c
tree786aca49be8fe3d6e59d92ee1772d40b71cd8210
parent8599b30c67f6918a77578fd5d67ae38cecaf189c
nir/variable: Remove the constant_value field

This was a left-over relic of GLSL IR that we aren't using for anything.
If we ever want that value again, we can add it back, but NIR constant
folding should be just as good as GLSL IR's if not better pretty soon, so
I'm not worried about it.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir.h