void st_nir_assign_varying_locations(struct st_context *st,
struct nir_shader *nir);
+struct pipe_shader_state *
+st_nir_finish_builtin_shader(struct st_context *st,
+ struct nir_shader *nir,
+ const char *name);
+
+struct pipe_shader_state *
+st_nir_make_passthrough_shader(struct st_context *st,
+ const char *shader_name,
+ gl_shader_stage stage,
+ unsigned num_vars,
+ unsigned *input_locations,
+ unsigned *output_locations,
+ unsigned *interpolation_modes,
+ unsigned sysval_mask);
+
#ifdef __cplusplus
}
#endif