mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-27 17:40:43 +00:00
vbo: remove unused vbo_any_varyings_in_vbos() function
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
718f4251c5
commit
a83f7e119c
@ -153,10 +153,7 @@ void vbo_split_prims( struct gl_context *ctx,
|
||||
const struct split_limits *limits );
|
||||
|
||||
|
||||
/* Helpers for dealing translating away non-zero min_index.
|
||||
*/
|
||||
GLboolean vbo_all_varyings_in_vbos( const struct gl_vertex_array *arrays[] );
|
||||
GLboolean vbo_any_varyings_in_vbos( const struct gl_vertex_array *arrays[] );
|
||||
|
||||
void vbo_rebase_prims( struct gl_context *ctx,
|
||||
const struct gl_vertex_array *arrays[],
|
||||
|
@ -91,16 +91,6 @@ GLboolean vbo_all_varyings_in_vbos( const struct gl_vertex_array *arrays[] )
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
GLboolean vbo_any_varyings_in_vbos( const struct gl_vertex_array *arrays[] )
|
||||
{
|
||||
GLuint i;
|
||||
|
||||
for (i = 0; i < VERT_ATTRIB_MAX; i++)
|
||||
if (arrays[i]->BufferObj->Name != 0)
|
||||
return GL_TRUE;
|
||||
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
/* Adjust primitives, indices and vertex definitions so that min_index
|
||||
* becomes zero. There are lots of reasons for wanting to do this, eg:
|
||||
|
Loading…
Reference in New Issue
Block a user