i965 new VS: Fix src_reg(uint32_t) constructor.
authorPaul Berry <stereotype441@gmail.com>
Sat, 24 Sep 2011 04:35:18 +0000 (21:35 -0700)
committerPaul Berry <stereotype441@gmail.com>
Wed, 28 Sep 2011 18:38:04 +0000 (11:38 -0700)
commitcc3a699e32bed62c38b3b2de280973f067962504
tree3123a6d721e720ec16ff6f2ccffa9db90f00a808
parente7da40afe84349a640fe15e3af408a0dfe880e85
i965 new VS: Fix src_reg(uint32_t) constructor.

This constructor was storing its argument in the wrong field of the
"imm" enum, resulting in it being converted to a float when it should
have remained an unsigned integer.  This was preventing clipping from
working properly on pre-GEN6.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4.h