i965: Correctly emit constants for aggregate types (array, matrix, struct)
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 7 Dec 2010 22:50:34 +0000 (14:50 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 7 Dec 2010 23:03:14 +0000 (15:03 -0800)
commit6848e27e1462e98dd91826a06f96c203c9eeebd0
treea0c4ac86461100065a480de9b25810cff7a686ff
parentb7617346dcff50a66a10c61b95c33682cf629c9e
i965: Correctly emit constants for aggregate types (array, matrix, struct)

Previously the code only handled scalars and vectors.  This new code
is modeled somewhat after similar code in ir_to_mesa.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs.cpp