nir: Use a single list for all shader variables
[mesa.git] / src / compiler / glsl / ir_builder.h
index 5ee9412f6efae420e19a4b6de3673937f927a4ec..9309039f9deaaa8e89c225f9a68294a154ffe036 100644 (file)
@@ -21,6 +21,9 @@
  * IN THE SOFTWARE.
  */
 
+#ifndef IR_BUILDER_H
+#define IR_BUILDER_H
+
 #include "ir.h"
 
 namespace ir_builder {
@@ -148,6 +151,7 @@ ir_expression *neg(operand a);
 ir_expression *sin(operand a);
 ir_expression *cos(operand a);
 ir_expression *exp(operand a);
+ir_expression *rcp(operand a);
 ir_expression *rsq(operand a);
 ir_expression *sqrt(operand a);
 ir_expression *log(operand a);
@@ -235,3 +239,5 @@ ir_if *if_tree(operand condition,
                ir_instruction *else_branch);
 
 } /* namespace ir_builder */
+
+#endif