diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index 010b0a4c6e5..399c02cdbfc 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -542,7 +542,7 @@ typedef struct { } bi_instr; static inline bool -bi_is_staging_src(bi_instr *I, unsigned s) +bi_is_staging_src(const bi_instr *I, unsigned s) { return (s == 0 || s == 4) && bi_opcode_props[I->op].sr_read; }