i965/blorp: Make gen6 VS and GS disable helpers static
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 Aug 2016 22:06:45 +0000 (15:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Aug 2016 10:11:29 +0000 (03:11 -0700)
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/blorp_priv.h
src/mesa/drivers/dri/i965/gen6_blorp.c

index 5fafe38b02d51ce40f24f3c4cbcd9384b8c4fe07..730665e644bb120af2fd3734240e3b36d090c565 100644 (file)
@@ -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,
@@ -333,10 +329,6 @@ uint32_t
 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);
 
index 344a40c95b6b7350fa0dcc460020f52a6bdcc59a..93ff8d1897be19e074e8105d52a798290e2e1613 100644 (file)
@@ -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)
 {