i965/fs: Add support for loading uniform buffer variables as pull constants.
authorEric Anholt <eric@anholt.net>
Wed, 20 Jun 2012 22:55:13 +0000 (15:55 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Aug 2012 20:54:51 +0000 (13:54 -0700)
commit90de96ff0d6d54ba0f9a337a6a107acf4134682d
tree03f79151a887d97ee9a2ca91bbd6e0f9666f74dd
parentbb020d09c382285210a5aebe412ddabfad19e4a0
i965/fs: Add support for loading uniform buffer variables as pull constants.

Variable array indexing isn't finished, because the lowering pass
turns it all into conditional moves of constant index accesses so I
can't test it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp