mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
broadcom/vc5: Fix pausing of transform feedback.
Gallium disables it by removing the streamout buffers, not by binding a program that doesn't have TF outputs. Fixes piglit "ext_transform_feedback2/counting with pause"
This commit is contained in:
parent
25d199f67d
commit
80da60947b
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ vc5_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
|
|||
* flag set.
|
||||
*/
|
||||
uint32_t prim_tf_enable = 0;
|
||||
if (vc5->prog.bind_vs->num_tf_outputs)
|
||||
if (vc5->streamout.num_targets)
|
||||
prim_tf_enable = (V3D_PRIM_POINTS_TF - V3D_PRIM_POINTS);
|
||||
|
||||
vc5_tf_statistics_record(vc5, info, prim_tf_enable);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue