From 276075f8645613bbb814cb4c930c2bafe1aadfcb Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 8 Mar 2014 17:18:26 -0800 Subject: [PATCH] i965: Disassemble vector float immediates properly. Reviewed-by: Kenneth Graunke Reviewed-by: Francisco Jerez --- src/mesa/drivers/dri/i965/brw_disasm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index e235fd47e62..dd7bb4377f7 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -1025,7 +1025,11 @@ imm(FILE *file, struct brw_context *brw, unsigned type, brw_inst *inst) format(file, "0x%08xUV", brw_inst_imm_ud(brw, inst)); break; case BRW_HW_REG_IMM_TYPE_VF: - format(file, "Vector Float"); + format(file, "[%-gF, %-gF, %-gF, %-gF]VF", + brw_vf_to_float(brw_inst_imm_ud(brw, inst)), + brw_vf_to_float(brw_inst_imm_ud(brw, inst) >> 8), + brw_vf_to_float(brw_inst_imm_ud(brw, inst) >> 16), + brw_vf_to_float(brw_inst_imm_ud(brw, inst) >> 24)); break; case BRW_HW_REG_IMM_TYPE_V: format(file, "0x%08xV", brw_inst_imm_ud(brw, inst)); -- 2.30.2