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);