i965/fs: Don't offset uniform registers in half().
authorMatt Turner <mattst88@gmail.com>
Fri, 29 Aug 2014 21:41:21 +0000 (14:41 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 4 Dec 2014 00:47:45 +0000 (16:47 -0800)
commitb5b18e46877d16877053c68e013c8217bb6a7b83
treec308e33987bbea4df430c72475b53d09775b3171
parentc74f2db0a5dd35845727987b1cbd07c0cdab9678
i965/fs: Don't offset uniform registers in half().

Half gives you the second half of a SIMD16 register, but if the register
is a uniform it would incorrectly give you the next register.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.h