freedreno/a3xx: make _emit_const() static
authorRob Clark <robdclark@gmail.com>
Wed, 9 Nov 2016 18:17:08 +0000 (13:17 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 27 Nov 2016 22:26:05 +0000 (17:26 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/a3xx/fd3_emit.h

index 6d223c05c10d5f165f9e018b08673064a393dd70..397a433738e0d7b4057a3761f1bf12a638a4b28e 100644 (file)
@@ -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)
index d8e5991cab94a21aea49378ca7f61c6bf9843fca..6e7dee25daad92dd2eb3bf25aabe0278a973ac82 100644 (file)
 
 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);