From: Marek Olšák Date: Fri, 24 Jan 2020 02:10:06 +0000 (-0500) Subject: st/mesa: make st_setup_current static X-Git-Tag: upstream/20.1.8~3440 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6954efce23e54e2bbe9ea554733685bf24acdd5f;p=platform%2Fupstream%2Fmesa.git st/mesa: make st_setup_current static Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- diff --git a/src/mesa/state_tracker/st_atom.h b/src/mesa/state_tracker/st_atom.h index d5a670a..ede45d6 100644 --- a/src/mesa/state_tracker/st_atom.h +++ b/src/mesa/state_tracker/st_atom.h @@ -67,13 +67,6 @@ st_setup_arrays(struct st_context *st, bool *has_user_vertex_buffers); void -st_setup_current(struct st_context *st, - const struct st_vertex_program *vp, - const struct st_common_variant *vp_variant, - struct pipe_vertex_element *velements, - struct pipe_vertex_buffer *vbuffer, unsigned *num_vbuffers); - -void st_setup_current_user(struct st_context *st, const struct st_vertex_program *vp, const struct st_common_variant *vp_variant, diff --git a/src/mesa/state_tracker/st_atom_array.c b/src/mesa/state_tracker/st_atom_array.c index 8075ecb..4b75240 100644 --- a/src/mesa/state_tracker/st_atom_array.c +++ b/src/mesa/state_tracker/st_atom_array.c @@ -191,7 +191,7 @@ st_setup_arrays(struct st_context *st, /* ALWAYS_INLINE helps the compiler realize that most of the parameters are * on the stack. */ -void ALWAYS_INLINE +static void ALWAYS_INLINE st_setup_current(struct st_context *st, const struct st_vertex_program *vp, const struct st_common_variant *vp_variant,