i965: Fix Gen8+ disassembly of half float subregister numbers.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Jan 2014 22:12:51 +0000 (14:12 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Feb 2014 20:36:38 +0000 (12:36 -0800)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/gen8_disasm.c

index 0ea5e73128b4cf984367bdd392330890e840d38d..387bb712f07f037e658776f0827b0f9a147df065 100644 (file)
@@ -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] = {