i965/fs: fix 32-bit data type to int64 conversion on BSW/BXT
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Fri, 10 Feb 2017 13:06:43 +0000 (14:06 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Fri, 17 Feb 2017 05:50:22 +0000 (06:50 +0100)
commitfccbad73effc88011b2236e042ad749c8bc15abd
treed4cf6f12d93ece31a98400d26a78a56686b24775
parent172c48cc15e2a7b42a7de8ff9164ad8733155667
i965/fs: fix 32-bit data type to int64 conversion on BSW/BXT

The 32-bit to 64-bit conversions need to have the 32-bit
data source elements aligned to 64-bit but only with doubles as
destination type.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99660
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp