i965/fs: Fix regs_read() for MOV_INDIRECT with a non-zero subnr
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 24 Nov 2015 19:24:57 +0000 (11:24 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Apr 2016 22:59:33 +0000 (15:59 -0700)
commit889e6054b7795baa789cc771e76e009d1605efae
tree644e4e706802a4ceec560e19ad95a474caa7f691
parent7e08a13009d53d40f7917b5737159a9c45544458
i965/fs: Fix regs_read() for MOV_INDIRECT with a non-zero subnr

The subnr field is in bytes so we don't need to multiply by type_sz.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp