OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 15 Mar 2017 18:54:31 +0000 (18:54 +0000)
commitea7711fc0f12dd5c1ee1594884cf543b77e35cf9
treea8e935551dc810c834f7c7e26457ec52d3e061cd
parente1e27b0917249448a481b6681aac375505f728c3
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>
(cherry picked from commit 0dddad5b1bb3b05190074a71d274c04c0b5ea700)
src/mesa/drivers/dri/i965/brw_fs_generator.cpp