i965/fs: emit MOV_INDIRECT with the source with the right register type
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 13 Feb 2017 11:09:53 +0000 (12:09 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 1 Mar 2017 05:50:35 +0000 (06:50 +0100)
commit0dddad5b1bb3b05190074a71d274c04c0b5ea700
tree55eb5c1ee02bfaf6c3ce886718f6ae1d5b841535
parentd8122128bc6bd291ff0abcb7f2e52d9cdc631527
i965/fs: emit MOV_INDIRECT with the source with the right register type

This was hiding bugs as it retyped the source to destination's type.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp