i965: Fix Crystal Well PCI IDs.
[mesa.git] / src / mesa / program / prog_parameter.c
index 9fa67b8baf047e990ec63522456c013fbaf975a6..8713d57b59fb76e740053c00e1d3910cbd1aa215 100644 (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;
-}