aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-09-01 13:42:51 -0700
committerMatt Turner <[email protected]>2014-09-24 09:42:46 -0700
commit90bfeb22444df6ce779251522e47bf169e130f8e (patch)
tree5246dc1482cbb452955ef976ef59bafb1339cee3 /src/mesa/drivers/dri/i965/brw_shader.cpp
parent2ff0ff880c14f246a419ae3949b2462617e485e1 (diff)
i965/vec4: Don't use instruction list after calculating the cfg.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp
index 0a33063e966..d8c8643e91b 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -854,7 +854,7 @@ backend_visitor::dump_instructions(const char *name)
}
int ip = 0;
- foreach_in_list(backend_instruction, inst, &instructions) {
+ foreach_block_and_inst(block, backend_instruction, inst, cfg) {
if (!name)
fprintf(stderr, "%d: ", ip++);
dump_instruction(inst, file);