From: Kenneth Graunke Date: Tue, 10 Dec 2013 08:06:12 +0000 (-0800) Subject: i965: Delete bogus BRW_REGISTER_TYPE_HF define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da872ddcc610b50e30afe9cdd42f3ff5dc513e70;p=mesa.git i965: Delete bogus BRW_REGISTER_TYPE_HF define. git blame ascribes this to the initial commit of the driver. No released hardware has ever supported half float, according to the documentation for SrcType in the ISA reference. Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index 212101361a6..3c43f8aef56 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -989,7 +989,6 @@ operator|(brw_urb_write_flags x, brw_urb_write_flags y) #define BRW_REGISTER_TYPE_UB 4 #define BRW_REGISTER_TYPE_B 5 #define BRW_REGISTER_TYPE_VF 5 /* packed float vector, immediates only? */ -#define BRW_REGISTER_TYPE_HF 6 #define BRW_REGISTER_TYPE_V 6 /* packed int vector, immediates only, uword dest only */ #define BRW_REGISTER_TYPE_F 7 diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h index 548d6779a2b..6ffcd7b5ecd 100644 --- a/src/mesa/drivers/dri/i965/brw_reg.h +++ b/src/mesa/drivers/dri/i965/brw_reg.h @@ -139,7 +139,6 @@ type_sz(unsigned type) case BRW_REGISTER_TYPE_D: case BRW_REGISTER_TYPE_F: return 4; - case BRW_REGISTER_TYPE_HF: case BRW_REGISTER_TYPE_UW: case BRW_REGISTER_TYPE_W: return 2;