mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
v3d: make sure we have enough space in the CL for the primitive counts packet
Fixes: 0f2d1dfe65 ("v3d: use the GPU to record primitives written to transform feedback")
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
b69f51a5ef
commit
b9a07eed00
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@
|
|||
void v3dX(bcl_epilogue)(struct v3d_context *v3d, struct v3d_job *job)
|
||||
{
|
||||
v3d_cl_ensure_space_with_branch(&job->bcl,
|
||||
cl_packet_length(PRIMITIVE_COUNTS_FEEDBACK) +
|
||||
#if V3D_VERSION >= 41
|
||||
cl_packet_length(TRANSFORM_FEEDBACK_SPECS) +
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue