pan/bi: Constify bi_is_staging_src argument

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17091>
This commit is contained in:
Alyssa Rosenzweig 2022-06-16 14:47:05 -04:00 committed by Marge Bot
parent 2075bff4e8
commit c5a8736552

View file

@ -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;
}