compiler: add INTERP_MODE_COLOR for radeonsi
[mesa.git] / src / compiler / glsl / ir_print_visitor.cpp
index 7e5e6440a2bbf2ad43c639ecfbf5b807ca88d2d4..c228493e7080a7b7da2eb98cf1c0b7dcd6500936 100644 (file)
@@ -198,7 +198,7 @@ void ir_print_visitor::visit(ir_variable *ir)
                                 "in ", "out ", "inout ",
                                "const_in ", "sys ", "temporary " };
    STATIC_ASSERT(ARRAY_SIZE(mode) == ir_var_mode_count);
-   const char *const interp[] = { "", "smooth", "flat", "noperspective", "explicit" };
+   const char *const interp[] = { "", "smooth", "flat", "noperspective", "explicit", "color" };
    STATIC_ASSERT(ARRAY_SIZE(interp) == INTERP_MODE_COUNT);
    const char *const precision[] = { "", "highp ", "mediump ", "lowp "};