pan/decode: Select the right registers when dumping local storage descriptors
Leads to invalid mappings when the selected register is not matching the one hardcoded in pandecode_run_idvs(). Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30695>
This commit is contained in:

committed by
Marge Bot

parent
867aa82e6f
commit
9e7091352c
@@ -328,13 +328,13 @@ pandecode_run_idvs(struct pandecode_context *ctx, FILE *fp,
|
|||||||
(ctx, cs_get_u64(qctx, 20), "Fragment shader", qctx->gpu_id);
|
(ctx, cs_get_u64(qctx, 20), "Fragment shader", qctx->gpu_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
DUMP_ADDR(ctx, LOCAL_STORAGE, cs_get_u64(qctx, 24),
|
DUMP_ADDR(ctx, LOCAL_STORAGE, cs_get_u64(qctx, reg_position_tsd),
|
||||||
"Position Local Storage @%" PRIx64 ":\n",
|
"Position Local Storage @%" PRIx64 ":\n",
|
||||||
cs_get_u64(qctx, reg_position_tsd));
|
cs_get_u64(qctx, reg_position_tsd));
|
||||||
DUMP_ADDR(ctx, LOCAL_STORAGE, cs_get_u64(qctx, 24),
|
DUMP_ADDR(ctx, LOCAL_STORAGE, cs_get_u64(qctx, reg_vary_tsd),
|
||||||
"Varying Local Storage @%" PRIx64 ":\n",
|
"Varying Local Storage @%" PRIx64 ":\n",
|
||||||
cs_get_u64(qctx, reg_vary_tsd));
|
cs_get_u64(qctx, reg_vary_tsd));
|
||||||
DUMP_ADDR(ctx, LOCAL_STORAGE, cs_get_u64(qctx, 30),
|
DUMP_ADDR(ctx, LOCAL_STORAGE, cs_get_u64(qctx, reg_frag_tsd),
|
||||||
"Fragment Local Storage @%" PRIx64 ":\n",
|
"Fragment Local Storage @%" PRIx64 ":\n",
|
||||||
cs_get_u64(qctx, reg_frag_tsd));
|
cs_get_u64(qctx, reg_frag_tsd));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user