mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 01:08:03 +02:00
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 <alyssa.rosenzweig@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3513> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3513>
This commit is contained in:
parent
f8eb4441ae
commit
d6d6ef2862
1 changed files with 0 additions and 13 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue