freedreno/rddecompiler: Fix some unsused function warnings

Some of the functions defined in the header might not be used
by the `generate-rd.cc` file being compiled so add `UNUSED`
to them.

Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32503>
This commit is contained in:
Karmjit Mahil
2024-12-05 15:55:35 +01:00
committed by Marge Bot
parent 0bbcb1f6f7
commit c22f88cbcf

View File

@@ -362,7 +362,7 @@ emit_shader_iova(struct replay_context *ctx, struct cmdstream *cs, uint64_t id)
pkt_qw(prev_cs, cs->iova); \
pkt(prev_cs, ibcs_size);
static void
UNUSED static void
gpu_print(struct replay_context *ctx, struct cmdstream *_cs, uint64_t iova,
uint32_t dwords)
{
@@ -425,7 +425,7 @@ gpu_print(struct replay_context *ctx, struct cmdstream *_cs, uint64_t iova,
* read the state of the buffer at the end of the cmdstream, not
* at the point of the call.
*/
static void
UNUSED static void
gpu_read_into_file(struct replay_context *ctx, struct cmdstream *_cs,
uint64_t iova, uint64_t size, bool clear, const char *name)
{