summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_job.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-12 13:59:35 -0700
committerAlyssa Rosenzweig <[email protected]>2019-07-12 15:31:48 -0700
commitee32700f37583613855965995018ac5b1f42e8a3 (patch)
treea74b84369d62fabbdb5ade19095ae4732422c6ef /src/gallium/drivers/panfrost/pan_job.c
parent37097b2f3818e3a30319600f3441b96dc1261382 (diff)
panfrost: Subdivide fixed-size transient slabs
The whole purpose of the transient memory model is to make subdivision stupidly easy, so let's handle that. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_job.c')
-rw-r--r--src/gallium/drivers/panfrost/pan_job.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c
index 0faefe2157a..6339b39d29a 100644
--- a/src/gallium/drivers/panfrost/pan_job.c
+++ b/src/gallium/drivers/panfrost/pan_job.c
@@ -42,6 +42,7 @@ panfrost_create_job(struct panfrost_context *ctx)
job->minx = job->miny = ~0;
job->maxx = job->maxy = 0;
+ job->transient_offset = 0;
util_dynarray_init(&job->headers, job);
util_dynarray_init(&job->gpu_headers, job);