summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/glsl_to_nir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/glsl_to_nir.h')
-rw-r--r--src/glsl/nir/glsl_to_nir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/nir/glsl_to_nir.h b/src/glsl/nir/glsl_to_nir.h
index 3801e8c55c6..29badcda08d 100644
--- a/src/glsl/nir/glsl_to_nir.h
+++ b/src/glsl/nir/glsl_to_nir.h
@@ -32,7 +32,8 @@
extern "C" {
#endif
-nir_shader *glsl_to_nir(struct gl_shader *sh,
+nir_shader *glsl_to_nir(const struct gl_shader_program *shader_prog,
+ gl_shader_stage stage,
const nir_shader_compiler_options *options);
#ifdef __cplusplus