summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glsl_to_nir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/glsl_to_nir.h')
-rw-r--r--src/compiler/glsl/glsl_to_nir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_to_nir.h b/src/compiler/glsl/glsl_to_nir.h
index 115c8e1270b..38728d3ff26 100644
--- a/src/compiler/glsl/glsl_to_nir.h
+++ b/src/compiler/glsl/glsl_to_nir.h
@@ -36,7 +36,8 @@ extern "C" {
struct gl_shader_program;
-nir_shader *glsl_to_nir(const struct gl_shader_program *shader_prog,
+nir_shader *glsl_to_nir(struct gl_context *ctx,
+ const struct gl_shader_program *shader_prog,
gl_shader_stage stage,
const nir_shader_compiler_options *options);