agx: Constify agx_{read,write}_registers

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22353>
This commit is contained in:
Alyssa Rosenzweig
2023-03-04 22:17:29 -05:00
committed by Marge Bot
parent da9c8a4627
commit c643f42dc6
2 changed files with 4 additions and 4 deletions

View File

@@ -772,8 +772,8 @@ agx_validate(UNUSED agx_context *ctx, UNUSED const char *after_str)
}
#endif
unsigned agx_read_registers(agx_instr *I, unsigned s);
unsigned agx_write_registers(agx_instr *I, unsigned d);
unsigned agx_read_registers(const agx_instr *I, unsigned s);
unsigned agx_write_registers(const agx_instr *I, unsigned d);
bool agx_allows_16bit_immediate(agx_instr *I);
struct agx_copy {