aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-01-18 14:45:37 -0500
committerMarge Bot <[email protected]>2020-01-23 19:59:58 +0000
commitd6d6ef2862578ab6172f54b8378489e5bcc08166 (patch)
tree366d2ee6936bd427e031323676607d5562cbcbf9 /src
parentf8eb4441ae3e40141d5f11fb1abf4c0f9e2aa26e (diff)
panfrost: Drop mysterious zero=0xFFFF field
It doesn't seem to affect any results and it's not at all clear if/why the blob sometimes(?) sets it? So let's clean this up since this solution isn't correct anyway. Signed-off-by: Alyssa Rosenzweig <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3513> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3513>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index 1cd9cf3f24c..6c4a510f955 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -202,18 +202,6 @@ panfrost_emit_vertex_payload(struct panfrost_context *ctx)
memcpy(&ctx->payloads[PIPE_SHADER_COMPUTE], &payload, sizeof(payload));
}
-static void
-panfrost_emit_tiler_payload(struct panfrost_context *ctx)
-{
- struct midgard_payload_vertex_tiler payload = {
- .prefix = {
- .zero1 = 0xffff, /* Why is this only seen on test-quad-textured? */
- },
- };
-
- memcpy(&ctx->payloads[PIPE_SHADER_FRAGMENT], &payload, sizeof(payload));
-}
-
static unsigned
translate_tex_wrap(enum pipe_tex_wrap w)
{
@@ -2734,7 +2722,6 @@ panfrost_create_context(struct pipe_screen *screen, void *priv, unsigned flags)
panfrost_batch_init(ctx);
panfrost_emit_vertex_payload(ctx);
- panfrost_emit_tiler_payload(ctx);
panfrost_invalidate_frame(ctx);
panfrost_default_shader_backend(ctx);