glsl: Track in each ir_variable whether it was ever assigned.
authorEric Anholt <eric@anholt.net>
Fri, 30 Mar 2012 00:02:15 +0000 (17:02 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 19 Apr 2012 23:33:36 +0000 (16:33 -0700)
commitf2475ca424f7e001be50f64dafa5700f6603d684
tree432e0d9c8da042785c8fb6de1aa70a2eeed89eae
parentcc7e0de009a0ab528fe950b17fa465a0a97988fc
glsl: Track in each ir_variable whether it was ever assigned.

This will be used for some compile-and-link-time error checking, where
currently we've been doing error checking only at link time.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_function.cpp
src/glsl/ast_to_hir.cpp
src/glsl/ir.h