summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_tess_level.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/lower_tess_level.cpp')
-rw-r--r--src/compiler/glsl/lower_tess_level.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/lower_tess_level.cpp b/src/compiler/glsl/lower_tess_level.cpp
index adca29ce424..0a244f14398 100644
--- a/src/compiler/glsl/lower_tess_level.cpp
+++ b/src/compiler/glsl/lower_tess_level.cpp
@@ -382,8 +382,8 @@ lower_tess_level_visitor::visit_leave(ir_call *ir)
{
void *ctx = ralloc_parent(ir);
- const exec_node *formal_param_node = ir->callee->parameters.head;
- const exec_node *actual_param_node = ir->actual_parameters.head;
+ const exec_node *formal_param_node = ir->callee->parameters.get_head_raw();
+ const exec_node *actual_param_node = ir->actual_parameters.get_head_raw();
while (!actual_param_node->is_tail_sentinel()) {
ir_variable *formal_param = (ir_variable *) formal_param_node;
ir_rvalue *actual_param = (ir_rvalue *) actual_param_node;