diff options
author | Matt Turner <mattst88@gmail.com> | 2014-09-01 15:01:23 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-09-24 09:42:46 -0700 |
commit | 49374fab5d793ed426e01f7fef82c87442c14860 (patch) | |
tree | 1d5755c949f793e7079b5dd31a5c31c47e80f399 /src/mesa/drivers/dri/i965/intel_asm_annotation.c | |
parent | 3fe1a84bbe608c2a9676d0f80f778e716a505421 (diff) | |
download | external_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.c | 4 |
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++; } |