summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-12 16:37:45 -0700
committerAlyssa Rosenzweig <[email protected]>2019-07-15 08:03:34 -0700
commit594b47d91754a0298c315bfdceef0d3e6174ee9a (patch)
tree4e1c8afb50c17a82e1261490589236fcb6f9027a /src/gallium/drivers
parentd375d127a9e1a68d5290177b82728510e5cc5a61 (diff)
panfrost: Remove bizarre hack
I don't think this is still necessary, and if it is, we'll have to figure out how to fix it the right way. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index 7171841693c..710752f6cb5 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -1847,15 +1847,6 @@ panfrost_create_vertex_elements_state(
so->num_elements = num_elements;
memcpy(so->pipe, elements, sizeof(*elements) * num_elements);
- /* XXX: What the cornball? This is totally, 100%, unapologetically
- * nonsense. And yet it somehow fixes a regression in -bshadow
- * (previously, we allocated the descriptor here... a newer commit
- * removed that allocation, and then memory corruption led to
- * shader_meta getting overwritten in bad ways and then the whole test
- * case falling apart . TODO: LOOK INTO PLEASE XXX XXX BAD XXX XXX XXX
- */
- panfrost_allocate_chunk(pan_context(pctx), 0, HEAP_DESCRIPTOR);
-
for (int i = 0; i < num_elements; ++i) {
so->hw[i].index = i;