nir: Add goto_if jump instruction
[mesa.git] / src / compiler / nir / nir_constant_expressions.h
index 201f278c71c887f5efd24bc9c48ceff374060197..6450d5c3d03f38f20e81cf2959f9351ed8d1be04 100644 (file)
  *
  */
 
+#ifndef NIR_CONSTANT_EXPRESSIONS_H
+#define NIR_CONSTANT_EXPRESSIONS_H
+
 #include "nir.h"
 
-nir_const_value nir_eval_const_opcode(nir_op op, unsigned num_components,
-                                      unsigned bit_size, nir_const_value *src);
+void nir_eval_const_opcode(nir_op op, nir_const_value *dest,
+                           unsigned num_components, unsigned bit_size,
+                           nir_const_value **src,
+                           unsigned float_controls_execution_mode);
+
+#endif /* NIR_CONSTANT_EXPRESSIONS_H */