summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index ca4c43c5e47..0595b221442 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -32,6 +32,7 @@
#include "../list.h"
#include "GL/gl.h" /* GLenum */
#include "util/ralloc.h"
+#include "main/mtypes.h"
#include "nir_types.h"
#include <stdio.h>
@@ -1254,6 +1255,10 @@ void nir_lower_variables_scalar(nir_shader *shader, bool lower_globals,
void nir_remove_dead_variables(nir_shader *shader);
+void nir_lower_samplers(nir_shader *shader,
+ struct gl_shader_program *shader_program,
+ struct gl_program *prog);
+
#ifdef __cplusplus
} /* extern "C" */
#endif