mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 02:00:35 +01:00
st/mesa: make st_setup_current static
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3829>
This commit is contained in:
parent
e3617fd00b
commit
6954efce23
2 changed files with 1 additions and 8 deletions
|
|
@ -66,13 +66,6 @@ st_setup_arrays(struct st_context *st,
|
|||
struct pipe_vertex_buffer *vbuffer, unsigned *num_vbuffers,
|
||||
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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue