projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b69f51a
)
v3d: make sure we have enough space in the CL for the primitive counts packet
author
Iago Toral Quiroga
<itoral@igalia.com>
Tue, 10 Sep 2019 11:46:25 +0000
(13:46 +0200)
committer
Iago Toral
<itoral@igalia.com>
Fri, 13 Sep 2019 06:53:26 +0000
(06:53 +0000)
Fixes: 0f2d1dfe65 ("v3d: use the GPU to record primitives written to transform feedback")
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/v3d/v3dx_job.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3dx_job.c
b/src/gallium/drivers/v3d/v3dx_job.c
index 84228a4876010fbf89b0c8ff6b98b3c2a30a41c9..83086134a998a8ecafba215aae3d632505440dcf 100644
(file)
--- a/
src/gallium/drivers/v3d/v3dx_job.c
+++ b/
src/gallium/drivers/v3d/v3dx_job.c
@@
-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