nir: Use a single list for all shader variables
[mesa.git] / src / compiler / glsl / ir_optimization.h
index 23365df10a38a71a4bf7ff2be1fe60b750de67a6..9f002e9b9e24d4d169f43b5adf0756afda282263 100644 (file)
@@ -188,6 +188,7 @@ ir_variable *compare_index_block(ir_builder::ir_factory &body,
 bool lower_64bit_integer_instructions(exec_list *instructions,
                                       unsigned what_to_lower);
 
-bool lower_precision(exec_list *instructions);
+void lower_precision(const struct gl_shader_compiler_options *options,
+                     exec_list *instructions);
 
 #endif /* GLSL_IR_OPTIMIZATION_H */