mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
pan/decode: Fix the pan_unpack() call for JUMP instruction unpacking
We are unpacking a CALL instead of JUMP instruction. It doesn't make a difference because the instruction layout is the same, but let's fix that for the sake of correctness. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26221>
This commit is contained in:
parent
238f9a4498
commit
1d4fa05b78
1 changed files with 1 additions and 1 deletions
|
|
@ -707,7 +707,7 @@ interpret_ceu_instr(struct pandecode_context *ctx, struct queue_ctx *qctx)
|
|||
}
|
||||
|
||||
case MALI_CEU_OPCODE_JUMP: {
|
||||
pan_unpack(bytes, CEU_CALL, I);
|
||||
pan_unpack(bytes, CEU_JUMP, I);
|
||||
|
||||
if (qctx->call_stack_depth == 0) {
|
||||
fprintf(stderr, "Cannot jump from the entrypoint\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue