Mesa (master): freedreno/a3xx: make _emit_const() static
Rob Clark
robclark at kemper.freedesktop.org
Sun Nov 27 22:35:23 UTC 2016
Module: Mesa
Branch: master
Commit: f4ffe2786bd5f0f5b894e4772a64ba78276ea2d2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4ffe2786bd5f0f5b894e4772a64ba78276ea2d2
Author: Rob Clark <robdclark at gmail.com>
Date: Wed Nov 9 13:17:08 2016 -0500
freedreno/a3xx: make _emit_const() static
Signed-off-by: Rob Clark <robdclark at gmail.com>
---
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);
More information about the mesa-commit
mailing list