[Mesa-dev] [PATCH 04/17] i965: Make gen7_enable_hw_binding_tables static
Abdiel Janulgue
abdiel.janulgue at linux.intel.com
Thu Aug 27 02:52:06 PDT 2015
On 08/26/2015 08:19 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> 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 at intel.com>
This patch is
Reviewed-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
> ---
> src/mesa/drivers/dri/i965/brw_binding_tables.c | 2 +-
> src/mesa/drivers/dri/i965/brw_state.h | 1 -
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_binding_tables.c b/src/mesa/drivers/dri/i965/brw_binding_tables.c
> index b188fc7..508f1f0 100644
> --- a/src/mesa/drivers/dri/i965/brw_binding_tables.c
> +++ b/src/mesa/drivers/dri/i965/brw_binding_tables.c
> @@ -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)
> diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h
> index da8a478..2cc64ca 100644
> --- a/src/mesa/drivers/dri/i965/brw_state.h
> +++ b/src/mesa/drivers/dri/i965/brw_state.h
> @@ -373,7 +373,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);
>
>
More information about the mesa-dev
mailing list