glsl: fix the type of ir_constant_data::u16
[mesa.git] / src / compiler / glsl / glsl_to_nir.h
index 115c8e1270bfa8a31eb2113c11c49a52cb05f3e6..38728d3ff267764dbf313fff210205fb605bc23b 100644 (file)
@@ -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);