mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
i965: Fix support for disassembling 64-bit integer immediates
The type suffixes were wrong, and the 16 was missing the 0 prefix.
Fixes: 92f787ff86 ("i965: Add support for disassembling 64-bit integer immediates")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
7e88f93469
commit
6db5ec7deb
1 changed files with 2 additions and 2 deletions
|
|
@ -1012,10 +1012,10 @@ imm(FILE *file, const struct gen_device_info *devinfo, enum brw_reg_type type,
|
|||
{
|
||||
switch (type) {
|
||||
case BRW_REGISTER_TYPE_UQ:
|
||||
format(file, "0x%16lxUD", brw_inst_imm_uq(devinfo, inst));
|
||||
format(file, "0x%016lxUQ", brw_inst_imm_uq(devinfo, inst));
|
||||
break;
|
||||
case BRW_REGISTER_TYPE_Q:
|
||||
format(file, "%ldD", brw_inst_imm_uq(devinfo, inst));
|
||||
format(file, "%ldQ", brw_inst_imm_uq(devinfo, inst));
|
||||
break;
|
||||
case BRW_REGISTER_TYPE_UD:
|
||||
format(file, "0x%08xUD", brw_inst_imm_ud(devinfo, inst));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue