[Mesa-dev] [PATCH 6/6] mesa/st: Make st_pipe_vertex_format static.
Mathias.Froehlich at gmx.net
Mathias.Froehlich at gmx.net
Fri Nov 23 08:07:32 UTC 2018
From: Mathias Fröhlich <mathias.froehlich at web.de>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>
---
src/mesa/state_tracker/st_atom.h | 3 ---
src/mesa/state_tracker/st_atom_array.c | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/mesa/state_tracker/st_atom.h b/src/mesa/state_tracker/st_atom.h
index d36f0180fa..ccf58b10e9 100644
--- a/src/mesa/state_tracker/st_atom.h
+++ b/src/mesa/state_tracker/st_atom.h
@@ -58,9 +58,6 @@ void st_destroy_atoms( struct st_context *st );
void st_validate_state( struct st_context *st, enum st_pipeline pipeline );
GLuint st_compare_func_to_pipe(GLenum func);
-enum pipe_format
-st_pipe_vertex_format(const struct gl_vertex_format *glformat);
-
void
st_setup_arrays(struct st_context *st,
const struct st_vertex_program *vp,
diff --git a/src/mesa/state_tracker/st_atom_array.c b/src/mesa/state_tracker/st_atom_array.c
index 1073e76c3e..7a63d7504f 100644
--- a/src/mesa/state_tracker/st_atom_array.c
+++ b/src/mesa/state_tracker/st_atom_array.c
@@ -237,7 +237,7 @@ static const uint16_t vertex_formats[][4][4] = {
/**
* Return a PIPE_FORMAT_x for the given GL datatype and size.
*/
-enum pipe_format
+static enum pipe_format
st_pipe_vertex_format(const struct gl_vertex_format *vformat)
{
const GLubyte size = vformat->Size;
--
2.17.2
More information about the mesa-dev
mailing list