i965: Delete bogus BRW_REGISTER_TYPE_HF define.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Dec 2013 08:06:12 +0000 (00:06 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 20 Dec 2013 20:25:33 +0000 (12:25 -0800)
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 <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_reg.h

index 212101361a68567d9024f03063bd18fafc8e45b7..3c43f8aef562b0868baf55e8a19ccf20334bcabf 100644 (file)
@@ -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
 
index 548d6779a2b0593da40a7dcea36cbeff84e34774..6ffcd7b5ecdf63574ba2493c6e99d2a3ddff9d9e 100644 (file)
@@ -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;