OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf6b35
)
i965: Dump the WHILE jump distance on gen6.
author
Eric Anholt
<eric@anholt.net>
Wed, 1 Dec 2010 23:00:08 +0000
(15:00 -0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 1 Dec 2010 23:22:59 +0000
(15:22 -0800)
src/mesa/drivers/dri/i965/brw_disasm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_disasm.c
b/src/mesa/drivers/dri/i965/brw_disasm.c
index
962c041
..
6b61f7a
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/
src/mesa/drivers/dri/i965/brw_disasm.c
@@
-899,7
+899,8
@@
int brw_disasm (FILE *file, struct brw_instruction *inst, int gen)
err |= dest (file, inst);
} else if (gen >= 6 && (inst->header.opcode == BRW_OPCODE_IF ||
inst->header.opcode == BRW_OPCODE_ELSE ||
- inst->header.opcode == BRW_OPCODE_ENDIF)) {
+ inst->header.opcode == BRW_OPCODE_ENDIF ||
+ inst->header.opcode == BRW_OPCODE_WHILE)) {
format (file, " %d", inst->bits1.branch_gen6.jump_count);
}