diff options
-rw-r--r-- | src/mesa/state_tracker/st_nir_lower_builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_nir_lower_builtin.c b/src/mesa/state_tracker/st_nir_lower_builtin.c index fca0bef6653..660fdf3f910 100644 --- a/src/mesa/state_tracker/st_nir_lower_builtin.c +++ b/src/mesa/state_tracker/st_nir_lower_builtin.c @@ -216,7 +216,7 @@ lower_builtin_block(lower_builtin_state *state, nir_block *block) * to remove'd var. And we have to remove the original uniform * var since we don't want it to get uniform space allocated. */ - exec_node_remove(&intrin->instr.node); + nir_instr_remove(&intrin->instr); } return true; |