From b115407d75cdde7ee67066f3956b3f43187b3edc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20Iglesias=20Gons=C3=A1lvez?= Date: Wed, 8 Feb 2017 13:14:34 +0100 Subject: [PATCH] i965/fs: legalize [u]int64 to 32-bit data conversions in lower_d2x MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Samuel Iglesias Gonsálvez Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99660 Reviewed-by: Lionel Landwerlin --- src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 9a8aabf8487..a2db1154615 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); -- 2.30.2