[Mesa-dev] [PATCH] i965: Delete bogus BRW_REGISTER_TYPE_HF define.

Kenneth Graunke kenneth at whitecape.org
Tue Dec 10 00:09:59 PST 2013


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 at whitecape.org>
---
 src/mesa/drivers/dri/i965/brw_defines.h | 1 -
 src/mesa/drivers/dri/i965/brw_reg.h     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
index 2121013..3c43f8a 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 548d677..6ffcd7b 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;
-- 
1.8.4.4



More information about the mesa-dev mailing list