i965/fs: Handle type-V immediates in brw_reg_from_fs_reg().
authorMatt Turner <mattst88@gmail.com>
Mon, 2 Nov 2015 00:22:29 +0000 (00:22 +0000)
committerMatt Turner <mattst88@gmail.com>
Fri, 13 Nov 2015 19:27:51 +0000 (11:27 -0800)
commitb99e1fd547035be9a6da5ee1b78b8a853c2ef3e0
treeb7c544bfeb7716e4442273227e7b177722dc6ebf
parentb163aa01487ab5f9b22c48b7badc5d65999c4985
i965/fs: Handle type-V immediates in brw_reg_from_fs_reg().

We use brw_imm_v() to produce type-V immediates, which generates a
brw_reg with fs_reg's .file set to HW_REG. The next commit will rid us
of HW_REGs, so we need to handle BRW_REGISTER_TYPE_V in the IMM case.

Reviewed-by: Emil Velikov <emil.velikov@collabora.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp