mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 05:10:36 +02:00
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:
parent
2075bff4e8
commit
c5a8736552
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue