Revert "glcpp: Rewrite line-continuation support to act globally."
[mesa.git] / src / glsl / ir.h
index f019837d5f7f14cf5e728e9f3251ce2df09d28b6..89c516c877d166ebac04fd594e028717b9ca5ff6 100644 (file)
@@ -1017,10 +1017,18 @@ enum ir_expression_operation {
 
    ir_binop_pow,
 
+   /**
+    * Load a value the size of a given GLSL type from a uniform block.
+    *
+    * operand0 is the ir_constant uniform block index in the linked shader.
+    * operand1 is a byte offset within the uniform block.
+    */
+   ir_binop_ubo_load,
+
    /**
     * A sentinel marking the last of the binary operations.
     */
-   ir_last_binop = ir_binop_pow,
+   ir_last_binop = ir_binop_ubo_load,
 
    ir_quadop_vector,