From: Samuel Iglesias Gonsálvez Date: Wed, 8 Feb 2017 12:14:34 +0000 (+0100) Subject: i965/fs: legalize [u]int64 to 32-bit data conversions in lower_d2x X-Git-Tag: upstream/17.1.0~2423 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b115407d75cdde7ee67066f3956b3f43187b3edc;p=platform%2Fupstream%2Fmesa.git i965/fs: legalize [u]int64 to 32-bit data conversions in lower_d2x Signed-off-by: Samuel Iglesias Gonsálvez Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99660 Reviewed-by: Lionel Landwerlin --- diff --git a/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp b/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp index 9a8aabf..a2db115 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp @@ -41,7 +41,9 @@ fs_visitor::lower_d2x() inst->dst.type != BRW_REGISTER_TYPE_UD) continue; - if (inst->src[0].type != BRW_REGISTER_TYPE_DF) + if (inst->src[0].type != BRW_REGISTER_TYPE_DF && + inst->src[0].type != BRW_REGISTER_TYPE_UQ && + inst->src[0].type != BRW_REGISTER_TYPE_Q) continue; assert(inst->dst.file == VGRF);