mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
assembler: Rename bits3.id and bits3.fd
As always, to sync with mesa. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
c7dac84953
commit
f2059b7cc7
@ -1599,8 +1599,8 @@ struct brw_instruction
|
|||||||
} generic_gen5;
|
} generic_gen5;
|
||||||
|
|
||||||
GLuint ud;
|
GLuint ud;
|
||||||
GLint id;
|
GLint d;
|
||||||
GLfloat fd;
|
GLfloat f;
|
||||||
} bits3;
|
} bits3;
|
||||||
|
|
||||||
char *first_reloc_target, *second_reloc_target; // first for JIP, second for UIP
|
char *first_reloc_target, *second_reloc_target; // first for JIP, second for UIP
|
||||||
|
@ -628,13 +628,13 @@ static int imm (FILE *file, GLuint type, struct brw_instruction *inst) {
|
|||||||
format (file, "0x%08xUD", inst->bits3.ud);
|
format (file, "0x%08xUD", inst->bits3.ud);
|
||||||
break;
|
break;
|
||||||
case BRW_REGISTER_TYPE_D:
|
case BRW_REGISTER_TYPE_D:
|
||||||
format (file, "%dD", inst->bits3.id);
|
format (file, "%dD", inst->bits3.d);
|
||||||
break;
|
break;
|
||||||
case BRW_REGISTER_TYPE_UW:
|
case BRW_REGISTER_TYPE_UW:
|
||||||
format (file, "0x%04xUW", (uint16_t) inst->bits3.ud);
|
format (file, "0x%04xUW", (uint16_t) inst->bits3.ud);
|
||||||
break;
|
break;
|
||||||
case BRW_REGISTER_TYPE_W:
|
case BRW_REGISTER_TYPE_W:
|
||||||
format (file, "%dW", (int16_t) inst->bits3.id);
|
format (file, "%dW", (int16_t) inst->bits3.d);
|
||||||
break;
|
break;
|
||||||
case BRW_REGISTER_TYPE_UB:
|
case BRW_REGISTER_TYPE_UB:
|
||||||
format (file, "0x%02xUB", (int8_t) inst->bits3.ud);
|
format (file, "0x%02xUB", (int8_t) inst->bits3.ud);
|
||||||
@ -646,7 +646,7 @@ static int imm (FILE *file, GLuint type, struct brw_instruction *inst) {
|
|||||||
format (file, "0x%08xV", inst->bits3.ud);
|
format (file, "0x%08xV", inst->bits3.ud);
|
||||||
break;
|
break;
|
||||||
case BRW_REGISTER_TYPE_F:
|
case BRW_REGISTER_TYPE_F:
|
||||||
format (file, "%-gF", inst->bits3.fd);
|
format (file, "%-gF", inst->bits3.f);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user