i965/vs: Fix types of varying outputs.
authorEric Anholt <eric@anholt.net>
Sat, 6 Aug 2011 03:54:25 +0000 (20:54 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Aug 2011 20:04:42 +0000 (13:04 -0700)
commitaba9801996f2f524a765df378c234a7645b3a5d1
treedfac6c42714cb246fb0c300f529cdcfe5bad9125
parent979072613139870f12e329e4b483c7f688b40560
i965/vs: Fix types of varying outputs.

For structs/arrays/matrices, they were ending up as uint because we
forgot to set them.  All varyings in GLSL 1.20 are of base type float,
so just force the matter here (which gets inherited at
emit_urb_writes() time).

Fixes vs-varying-array-mat2-col-rd.
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp