mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 10:38:30 +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> (cherry picked from commitb9a07eed00)
This commit is contained in:
parent
cfcb96da38
commit
110dc21ed3
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