i965: Make gen7_enable_hw_binding_tables static
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 19 Aug 2015 21:25:48 +0000 (14:25 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Sep 2015 23:24:17 +0000 (16:24 -0700)
All of the other state upload functions are static because the only use
is in the brw_tracked_state structure.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
src/mesa/drivers/dri/i965/brw_binding_tables.c
src/mesa/drivers/dri/i965/brw_state.h

index b188fc7de570df868622ef132b21aebcfaf971f0..508f1f019ae86a7cb2139a4baa1eeebc64a8b447 100644 (file)
@@ -311,7 +311,7 @@ gen7_disable_hw_binding_tables(struct brw_context *brw)
 /**
  * Enable hardware binding tables and set up the binding table pool.
  */
-void
+static void
 gen7_enable_hw_binding_tables(struct brw_context *brw)
 {
    if (!brw->use_resource_streamer)
index b6f565702cb79cbe821cb4ffdb1180c2fe195d37..97b81f08b2eb66fcc1f120cabd4e6f31b13aaad4 100644 (file)
@@ -374,7 +374,6 @@ void gen7_update_binding_table_from_array(struct brw_context *brw,
                                           gl_shader_stage stage,
                                           const uint32_t* binding_table,
                                           int num_surfaces);
-void gen7_enable_hw_binding_tables(struct brw_context *brw);
 void gen7_disable_hw_binding_tables(struct brw_context *brw);
 void gen7_reset_hw_bt_pool_offsets(struct brw_context *brw);