mesa: Expose GLSL interpolation qualifiers in gl_fragment_program.
[mesa.git] / src / mesa / main / atifragshader.h
index 6911bba5aee4d010532bc825d4082932369b6b85..90ada212a01d9bc01ad85e63e7aaae16f89127fd 100644 (file)
@@ -8,7 +8,12 @@
 #ifndef ATIFRAGSHADER_H
 #define ATIFRAGSHADER_H
 
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "glheader.h"
+#include "mfeatures.h"
+
+struct _glapi_table;
+struct gl_context;
 
 #define MAX_NUM_INSTRUCTIONS_PER_PASS_ATI 8
 #define MAX_NUM_PASSES_ATI                2
@@ -127,18 +132,18 @@ _mesa_SetFragmentShaderConstantATI(GLuint dst, const GLfloat * value);
 
 #else /* FEATURE_ATI_fragment_shader */
 
-static INLINE void
+static inline void
 _mesa_init_ati_fragment_shader_dispatch(struct _glapi_table *disp)
 {
 }
 
-static INLINE struct ati_fragment_shader *
+static inline struct ati_fragment_shader *
 _mesa_new_ati_fragment_shader(struct gl_context *ctx, GLuint id)
 {
    return NULL;
 }
 
-static INLINE void
+static inline void
 _mesa_delete_ati_fragment_shader(struct gl_context *ctx,
                                  struct ati_fragment_shader *s)
 {