[Mesa-dev] [PATCH 1/3] i965: Fix Gen8+ disassembly of half float subregister numbers.

Kenneth Graunke kenneth at whitecape.org
Wed Jan 29 14:36:20 PST 2014


Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/gen8_disasm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/gen8_disasm.c b/src/mesa/drivers/dri/i965/gen8_disasm.c
index 0ea5e73..387bb71 100644
--- a/src/mesa/drivers/dri/i965/gen8_disasm.c
+++ b/src/mesa/drivers/dri/i965/gen8_disasm.c
@@ -176,6 +176,7 @@ static const int reg_type_size[] = {
    [BRW_HW_REG_NON_IMM_TYPE_B]   = 1,
    [GEN7_HW_REG_NON_IMM_TYPE_DF] = 8,
    [BRW_HW_REG_TYPE_F]           = 4,
+   [GEN8_HW_REG_NON_IMM_TYPE_HF] = 2,
 };
 
 static const char *const m_reg_file[4] = {
-- 
1.8.4.2



More information about the mesa-dev mailing list