From: "Lonnberg, Toni" <[email protected]>
The decoded information about the message descriptors in SEND/SENDC
instructions are formatted to the same line as the instruction in shader
disassembly so that it's more readable and easier for the new shader
assembler to parse.
---
src/mesa/drivers/dri/i965/brw_disasm.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c
b/src/mesa/drivers/dri/i965/brw_disasm.c
index bcbdf49..b75e08d 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -1446,11 +1446,9 @@ brw_disassemble_inst(FILE *file, const struct
gen_device_info *devinfo,
if (opcode == BRW_OPCODE_SEND || opcode == BRW_OPCODE_SENDC) {
enum brw_message_target sfid = brw_inst_sfid(devinfo, inst);
- newline(file);
- pad(file, 16);
space = 0;
- fprintf(file, " ");
+ fprintf(file, " // ");
err |= control(file, "SFID", devinfo->gen >= 6 ? gen6_sfid : gen4_sfid,
sfid, &space);
--
2.7.4
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev