summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/vc5/vc5_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/vc5_program.c b/src/gallium/drivers/vc5/vc5_program.c
index cf2d1b830b8..a356d0645d8 100644
--- a/src/gallium/drivers/vc5/vc5_program.c
+++ b/src/gallium/drivers/vc5/vc5_program.c
@@ -79,6 +79,7 @@ vc5_set_transform_feedback_outputs(struct vc5_uncompiled_shader *so,
slots[slot_count] =
v3d_slot_from_slot_and_component(VARYING_SLOT_POS, 0);
slot_count++;
+ buffer_offset++;
}
/* Set the coordinate shader up to output the
@@ -92,6 +93,7 @@ vc5_set_transform_feedback_outputs(struct vc5_uncompiled_shader *so,
v3d_slot_from_slot_and_component(slot,
output->start_component + j);
slot_count++;
+ buffer_offset++;
}
}