[Mesa-dev] [PATCH 15/32] i965/blorp: Make gen6 VS and GS disable helpers static

Jason Ekstrand jason at jlekstrand.net
Thu Aug 11 21:15:12 UTC 2016


---
 src/mesa/drivers/dri/i965/blorp_priv.h | 8 --------
 src/mesa/drivers/dri/i965/gen6_blorp.c | 4 ++--
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/blorp_priv.h b/src/mesa/drivers/dri/i965/blorp_priv.h
index 5fafe38..730665e 100644
--- a/src/mesa/drivers/dri/i965/blorp_priv.h
+++ b/src/mesa/drivers/dri/i965/blorp_priv.h
@@ -320,10 +320,6 @@ uint32_t
 gen6_blorp_emit_wm_constants(struct brw_context *brw,
                              const struct brw_blorp_params *params);
 
-void
-gen6_blorp_emit_vs_disable(struct brw_context *brw,
-                           const struct brw_blorp_params *params);
-
 uint32_t
 gen6_blorp_emit_binding_table(struct brw_context *brw,
                               uint32_t wm_surf_offset_renderbuffer,
@@ -334,10 +330,6 @@ gen6_blorp_emit_depth_stencil_state(struct brw_context *brw,
                                     const struct brw_blorp_params *params);
 
 void
-gen6_blorp_emit_gs_disable(struct brw_context *brw,
-                           const struct brw_blorp_params *params);
-
-void
 gen6_blorp_emit_clip_disable(struct brw_context *brw);
 
 void
diff --git a/src/mesa/drivers/dri/i965/gen6_blorp.c b/src/mesa/drivers/dri/i965/gen6_blorp.c
index 344a40c..93ff8d1 100644
--- a/src/mesa/drivers/dri/i965/gen6_blorp.c
+++ b/src/mesa/drivers/dri/i965/gen6_blorp.c
@@ -443,7 +443,7 @@ gen6_blorp_emit_sampler_state_pointers(struct brw_context *brw,
  *
  * Disable vertex shader.
  */
-void
+static void
 gen6_blorp_emit_vs_disable(struct brw_context *brw,
                            const struct brw_blorp_params *params)
 {
@@ -482,7 +482,7 @@ gen6_blorp_emit_vs_disable(struct brw_context *brw,
  *
  * Disable the geometry shader.
  */
-void
+static void
 gen6_blorp_emit_gs_disable(struct brw_context *brw,
                            const struct brw_blorp_params *params)
 {
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list