glsl: Use ir_rvalue to represent generic error_type values.
[mesa.git] / src / glsl / ir_print_visitor.cpp
index 1471355f3815f507693c7d4544e4734758f83a50..78ba0ba9c810fc587d51d2b00da0b21de3f23188 100644 (file)
@@ -135,6 +135,10 @@ print_type(const glsl_type *t)
    }
 }
 
+void ir_print_visitor::visit(ir_rvalue *ir)
+{
+   printf("error");
+}
 
 void ir_print_visitor::visit(ir_variable *ir)
 {