summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-11-28 23:24:44 -0800
committerMatt Turner <[email protected]>2013-12-04 20:05:42 -0800
commitd2fcdd0973ee33a2627d1dee6d78091e605af160 (patch)
tree005e7f7802eaeb3e32e33472bb960a70bd05bd64 /src/mesa/drivers/dri/i965/brw_vec4.cpp
parentc6450fa963b7eefbbc0ba5e00d42f1a4efba092b (diff)
i965/cfg: Clean up cfg_t constructors.
parent_mem_ctx was unused since db47074a, so remove the two wrappers around create() and make create() the constructor. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 73f91a06281..5222a67dab2 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -668,7 +668,7 @@ vec4_visitor::opt_set_dependency_control()
vec4_instruction *last_mrf_write[BRW_MAX_GRF];
uint8_t mrf_channels_written[BRW_MAX_GRF];
- cfg_t cfg(this);
+ cfg_t cfg(&instructions);
assert(prog_data->total_grf ||
!"Must be called after register allocation");