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:
committed by
Marge Bot
parent
238f9a4498
commit
1d4fa05b78
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user