unsigned from_ssbo_unsized_array:1; /**< unsized array buffer variable. */
unsigned implicit_sized_array:1;
+
+ /**
+ * Whether this is a fragment shader output implicitly initialized with
+ * the previous contents of the specified render target at the
+ * framebuffer location corresponding to this shader invocation.
+ */
+ unsigned fb_fetch_output:1;
+
/**
* Emit a warning if this variable is accessed.
*/
#include "ir_expression_operation.h"
+extern const char *const ir_expression_operation_strings[ir_last_opcode + 1];
+
class ir_expression : public ir_rvalue {
public:
ir_expression(int op, const struct glsl_type *type,
operation == ir_quadop_vector;
}
- /**
- * Return a string representing this expression's operator.
- */
- const char *operator_string();
-
- /**
- * Return a string representing this expression's operator.
- */
- static const char *operator_string(ir_expression_operation);
-
-
/**
* Do a reverse-lookup to translate the given string into an operator.
*/