aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-02-10 08:56:33 -0500
committerAlyssa Rosenzweig <[email protected]>2020-02-16 09:16:46 -0500
commit50138abb5a0328b530723dfef5e9a8ac9dea2692 (patch)
tree720cb724d97bf8335322f9c46284b393b99cd5d8
parent6d9ee3e65aea9262a9890fb34032ef7c693aef2d (diff)
panfrost: Rename unknown2_8 to padding
It's zero everywhere. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3835>
-rw-r--r--src/panfrost/include/panfrost-job.h3
-rw-r--r--src/panfrost/pandecode/decode.c6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h
index 7002776eed5..940b5860e95 100644
--- a/src/panfrost/include/panfrost-job.h
+++ b/src/panfrost/include/panfrost-job.h
@@ -614,8 +614,7 @@ struct mali_shader_meta {
} midgard2;
};
- /* zero on bifrost */
- u32 unknown2_8;
+ u32 padding;
/* Blending information for the older non-MRT Midgard HW. Check for
* MALI_HAS_BLEND_SHADER to decide how to interpret.
diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c
index ec53cd75481..e523128a0bc 100644
--- a/src/panfrost/pandecode/decode.c
+++ b/src/panfrost/pandecode/decode.c
@@ -2270,8 +2270,10 @@ pandecode_vertex_tiler_postfix_pre(
pandecode_log("},\n");
}
- if (s->unknown2_8)
- pandecode_prop("unknown2_8 = 0x%" PRIx32, s->unknown2_8);
+ if (s->padding) {
+ pandecode_msg("XXX: shader padding tripped\n");
+ pandecode_prop("padding = 0x%" PRIx32, s->padding);
+ }
if (!is_bifrost) {
/* TODO: Blend shaders routing/disasm */