mesa: replace #defines with new gl_shader_type enum
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index 1e99e1e..9ffa49b 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -925,7 +925,7 @@
  */
 GLboolean
 _mesa_valid_register_index(const struct gl_context *ctx,
-                           GLuint shaderType,
+                           gl_shader_type shaderType,
                            gl_register_file file, GLint index)
 {
    const struct gl_program_constants *c;