summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_asm_annotation.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-09-01 15:01:23 -0700
committerMatt Turner <mattst88@gmail.com>2014-09-24 09:42:46 -0700
commit49374fab5d793ed426e01f7fef82c87442c14860 (patch)
tree1d5755c949f793e7079b5dd31a5c31c47e80f399 /src/mesa/drivers/dri/i965/intel_asm_annotation.c
parent3fe1a84bbe608c2a9676d0f80f778e716a505421 (diff)
downloadexternal_mesa3d-49374fab5d793ed426e01f7fef82c87442c14860.zip
external_mesa3d-49374fab5d793ed426e01f7fef82c87442c14860.tar.gz
external_mesa3d-49374fab5d793ed426e01f7fef82c87442c14860.tar.bz2
i965: Make instruction lists local to the bblocks.
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_asm_annotation.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_asm_annotation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_asm_annotation.c b/src/mesa/drivers/dri/i965/intel_asm_annotation.c
index 953a60a..37ad090 100644
--- a/src/mesa/drivers/dri/i965/intel_asm_annotation.c
+++ b/src/mesa/drivers/dri/i965/intel_asm_annotation.c
@@ -114,7 +114,7 @@ void annotate(struct brw_context *brw,
ann->annotation = inst->annotation;
}
- if (cfg->blocks[annotation->cur_block]->start == inst) {
+ if (bblock_start(cfg->blocks[annotation->cur_block]) == inst) {
ann->block_start = cfg->blocks[annotation->cur_block];
}
@@ -130,7 +130,7 @@ void annotate(struct brw_context *brw,
annotation->ann_count--;
}
- if (cfg->blocks[annotation->cur_block]->end == inst) {
+ if (bblock_end(cfg->blocks[annotation->cur_block]) == inst) {
ann->block_end = cfg->blocks[annotation->cur_block];
annotation->cur_block++;
}