projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d199f
)
broadcom/vc5: Fix pausing of transform feedback.
author
Eric Anholt
<eric@anholt.net>
Tue, 7 Nov 2017 18:13:04 +0000
(10:13 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 7 Nov 2017 20:58:00 +0000
(12:58 -0800)
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"
src/gallium/drivers/vc5/vc5_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_draw.c
b/src/gallium/drivers/vc5/vc5_draw.c
index 55a2e49b98d319146ee04c2fc6da5cab2d90f5ea..6f45b6340558280668486972ec5fbcd040cd9ea1 100644
(file)
--- a/
src/gallium/drivers/vc5/vc5_draw.c
+++ b/
src/gallium/drivers/vc5/vc5_draw.c
@@
-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_outpu
ts)
+ if (vc5->
streamout.num_targe
ts)
prim_tf_enable = (V3D_PRIM_POINTS_TF - V3D_PRIM_POINTS);
vc5_tf_statistics_record(vc5, info, prim_tf_enable);