From f4ffe2786bd5f0f5b894e4772a64ba78276ea2d2 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 9 Nov 2016 13:17:08 -0500 Subject: [PATCH] freedreno/a3xx: make _emit_const() static Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/a3xx/fd3_emit.c | 2 +- src/gallium/drivers/freedreno/a3xx/fd3_emit.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_emit.c b/src/gallium/drivers/freedreno/a3xx/fd3_emit.c index 6d223c0..397a433 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_emit.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_emit.c @@ -54,7 +54,7 @@ static const enum adreno_state_block sb[] = { * prsc or dwords: buffer containing constant values * sizedwords: size of const value buffer */ -void +static void fd3_emit_const(struct fd_ringbuffer *ring, enum shader_t type, uint32_t regid, uint32_t offset, uint32_t sizedwords, const uint32_t *dwords, struct pipe_resource *prsc) diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_emit.h b/src/gallium/drivers/freedreno/a3xx/fd3_emit.h index d8e5991..6e7dee2 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_emit.h +++ b/src/gallium/drivers/freedreno/a3xx/fd3_emit.h @@ -38,10 +38,6 @@ struct fd_ringbuffer; -void fd3_emit_const(struct fd_ringbuffer *ring, enum shader_t type, - uint32_t regid, uint32_t offset, uint32_t sizedwords, - const uint32_t *dwords, struct pipe_resource *prsc); - void fd3_emit_gmem_restore_tex(struct fd_ringbuffer *ring, struct pipe_surface **psurf, int bufs); -- 2.7.4