From 892781d6c7d31317dba6958a340d676f55c30034 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 20 Jan 2017 19:07:04 -0800 Subject: Revert "i965: Really don't emit Q or UQ moves on Gen < 8" This reverts commit c95380c4044237d73fb537511667c3c8f658fcee. Acked-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_eu_emit.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 4b557d98b48..de6a1d9b33f 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -94,14 +94,6 @@ unsigned brw_reg_type_to_hw_type(const struct gen_device_info *devinfo, enum brw_reg_type type, enum brw_reg_file file) { - /* If the type is Q or UQ and Gen < 8, change the type to DF. On Gen < 8, - * the only Q or UQ moves the should occur are actually to move doubles - * anyway. - */ - if (devinfo->gen < 8 && (type == BRW_REGISTER_TYPE_UQ || - type == BRW_REGISTER_TYPE_Q)) - type = BRW_REGISTER_TYPE_DF; - if (file == BRW_IMMEDIATE_VALUE) { static const int imm_hw_types[] = { [BRW_REGISTER_TYPE_UD] = BRW_HW_REG_TYPE_UD, -- cgit v1.2.3