nir/lower_clip: Fix incorrect driver loc for clipdist outputs
[mesa.git] / src / compiler / glsl / gl_nir_linker.h
index ecbc3f390905c86124767c6eaf6c1ca5e05885cb..82c5bf2ab49730f61876204720dbd73abb846d73 100644 (file)
@@ -31,6 +31,14 @@ extern "C" {
 struct gl_context;
 struct gl_shader_program;
 
+struct gl_nir_linker_options {
+   bool fill_parameters;
+};
+
+bool gl_nir_link(struct gl_context *ctx,
+                 struct gl_shader_program *prog,
+                 const struct gl_nir_linker_options *options);
+
 bool gl_nir_link_uniforms(struct gl_context *ctx,
                           struct gl_shader_program *prog,
                           bool fill_parameters);