nir/builder: Use nir_after_instr to advance the cursor
[mesa.git] / src / glsl / nir / glsl_to_nir.h
index 730094552ce61899ca8f1ae5ff6816f1e1324d55..3801e8c55c631c18949495dc20918aa6db74b0b2 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-nir_shader *glsl_to_nir(exec_list *ir, bool native_integers,
+nir_shader *glsl_to_nir(struct gl_shader *sh,
                         const nir_shader_compiler_options *options);
 
 #ifdef __cplusplus