mesa: Remove dead _mesa_num_parameters_of_type() function.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke
2012-10-10 17:07:53 -07:00
parent 1366db2ef6
commit 01d2bd34f4
2 changed files with 0 additions and 23 deletions
-18
View File
@@ -567,21 +567,3 @@ _mesa_combine_parameter_lists(const struct gl_program_parameter_list *listA,
}
return list;
}
/**
* Count the number of parameters in the last that match the given type.
*/
GLuint
_mesa_num_parameters_of_type(const struct gl_program_parameter_list *list,
gl_register_file type)
{
GLuint i, count = 0;
if (list) {
for (i = 0; i < list->NumParameters; i++) {
if (list->Parameters[i].Type == type)
count++;
}
}
return count;
}
-5
View File
@@ -151,11 +151,6 @@ _mesa_lookup_parameter_constant(const struct gl_program_parameter_list *list,
const gl_constant_value v[], GLuint vSize,
GLint *posOut, GLuint *swizzleOut);
extern GLuint
_mesa_num_parameters_of_type(const struct gl_program_parameter_list *list,
gl_register_file type);
#ifdef __cplusplus
}
#endif