summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/glsl_to_nir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/glsl_to_nir.h')
-rw-r--r--src/compiler/nir/glsl_to_nir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/nir/glsl_to_nir.h b/src/compiler/nir/glsl_to_nir.h
index e3fe9b0246a..14641fc5176 100644
--- a/src/compiler/nir/glsl_to_nir.h
+++ b/src/compiler/nir/glsl_to_nir.h
@@ -26,12 +26,13 @@
*/
#include "nir.h"
-#include "compiler/glsl/glsl_parser_extras.h"
#ifdef __cplusplus
extern "C" {
#endif
+struct gl_shader_program;
+
nir_shader *glsl_to_nir(const struct gl_shader_program *shader_prog,
gl_shader_stage stage,
const nir_shader_compiler_options *options);