From: Kenneth Graunke Date: Wed, 29 Jan 2014 22:12:51 +0000 (-0800) Subject: i965: Fix Gen8+ disassembly of half float subregister numbers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=697f401a31092ee13fb7a9c3d8e5ba823d72072a;p=mesa.git i965: Fix Gen8+ disassembly of half float subregister numbers. Signed-off-by: Kenneth Graunke Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/i965/gen8_disasm.c b/src/mesa/drivers/dri/i965/gen8_disasm.c index 0ea5e73128b..387bb712f07 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] = {