summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/program.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/program.h')
-rw-r--r--src/compiler/glsl/program.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/glsl/program.h b/src/compiler/glsl/program.h
index 64f54635f62..31bb9aa2435 100644
--- a/src/compiler/glsl/program.h
+++ b/src/compiler/glsl/program.h
@@ -22,12 +22,15 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#include "main/core.h"
#ifdef __cplusplus
extern "C" {
#endif
+struct gl_context;
+struct gl_shader;
+struct gl_shader_program;
+
extern void
_mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader,
bool dump_ast, bool dump_hir);