aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_nir_lower_blend.c
diff options
context:
space:
mode:
authorBoyan Ding <[email protected]>2015-10-16 15:15:39 +0800
committerEric Anholt <[email protected]>2015-10-20 09:54:53 +0100
commit6bd9e0351205dc475f45b58979702b5cf414aa07 (patch)
tree60aff2424adf968cfec55da0aeadc09215d4c5dd /src/gallium/drivers/vc4/vc4_nir_lower_blend.c
parent2832ca95ecce064c7d841a3a374c2179f56161be (diff)
vc4: Use nir_foreach_variable
Signed-off-by: Boyan Ding <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_nir_lower_blend.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_nir_lower_blend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_nir_lower_blend.c b/src/gallium/drivers/vc4/vc4_nir_lower_blend.c
index a842d604a51..17b524653bb 100644
--- a/src/gallium/drivers/vc4/vc4_nir_lower_blend.c
+++ b/src/gallium/drivers/vc4/vc4_nir_lower_blend.c
@@ -393,7 +393,7 @@ vc4_nir_lower_blend_block(nir_block *block, void *state)
continue;
nir_variable *output_var = NULL;
- foreach_list_typed(nir_variable, var, node, &c->s->outputs) {
+ nir_foreach_variable(var, &c->s->outputs) {
if (var->data.driver_location == intr->const_index[0]) {
output_var = var;
break;