diff options
author | Jason Ekstrand <[email protected]> | 2015-05-20 09:44:01 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-05-28 17:07:00 -0700 |
commit | 99cb4233205edcfa1a1e2967eef7bb16ff19bec4 (patch) | |
tree | 859167ee975d96a09bbb3eb3589fec46c2695b47 /src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp | |
parent | 1ca60de4c00e864bffbee8265f631b2267c8ea29 (diff) |
i965: Rename backend_visitor to backend_shader
The backend_shader class really is a representation of a shader. The fact
that it inherits from ir_visitor is somewhat immaterial.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp b/src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp index 03f838dd9ae..61f25811cb2 100644 --- a/src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp +++ b/src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp @@ -36,11 +36,11 @@ * - if/else/endif */ bool -dead_control_flow_eliminate(backend_visitor *v) +dead_control_flow_eliminate(backend_shader *s) { bool progress = false; - foreach_block_safe (block, v->cfg) { + foreach_block_safe (block, s->cfg) { bblock_t *if_block = NULL, *else_block = NULL, *endif_block = block; bool found = false; @@ -115,7 +115,7 @@ dead_control_flow_eliminate(backend_visitor *v) } if (progress) - v->invalidate_live_intervals(); + s->invalidate_live_intervals(); return progress; } |