summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-01-29 14:12:51 -0800
committerKenneth Graunke <[email protected]>2014-02-07 12:36:38 -0800
commit697f401a31092ee13fb7a9c3d8e5ba823d72072a (patch)
tree28d7f7a24dc94f1f21096260d530e401b85b752b /src/mesa/drivers/dri/i965
parente990234ff6fd0f8d393cc600bf4dc681105cc30c (diff)
i965: Fix Gen8+ disassembly of half float subregister numbers.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/gen8_disasm.c1
1 files changed, 1 insertions, 0 deletions
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] = {