diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-02-25 15:32:23 -0500 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2020-02-27 16:31:54 +0100 |
commit | 4a10cfab7629752059cb56dc1f7e1bef87c72489 (patch) | |
tree | 70f66e1edcfb4e4244726d136250380fa02ee55f /src/gallium/drivers | |
parent | febabb0502605a7fa742cafc85c3c4c414d8001e (diff) |
panfrost: Don't set shared->unk0
This field controls the size of per-thread temporaries (somehow this is
separate from the regular stack for register spilling..), though I'm not
certain on the details. Regardless this value of 0x1e despite being used
in places by the blob seems wrong and is interfering with correct sizing
of the stack.
We don't use non-spilling scratchpad yet, so this is just here to fix
some details of spilling.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Tomeu Vizoso <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3950>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_mfbd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_mfbd.c b/src/gallium/drivers/panfrost/pan_mfbd.c index 799fac14084..f150278bd7b 100644 --- a/src/gallium/drivers/panfrost/pan_mfbd.c +++ b/src/gallium/drivers/panfrost/pan_mfbd.c @@ -380,7 +380,6 @@ panfrost_emit_mfbd(struct panfrost_batch *batch, unsigned vertex_count) .tiler = panfrost_emit_midg_tiler(batch, vertex_count), .shared_memory = { - .unk0 = 0x1e, .stack_shift = shift, .scratchpad = panfrost_batch_get_scratchpad(batch, shift, screen->thread_tls_alloc, screen->core_count)->gpu, .shared_workgroup_count = ~0, |