"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 "};
ENUM(INTERP_MODE_FLAT),
ENUM(INTERP_MODE_NOPERSPECTIVE),
ENUM(INTERP_MODE_EXPLICIT),
+ ENUM(INTERP_MODE_COLOR),
};
STATIC_ASSERT(ARRAY_SIZE(names) == INTERP_MODE_COUNT);
return NAME(qual);
INTERP_MODE_FLAT,
INTERP_MODE_NOPERSPECTIVE,
INTERP_MODE_EXPLICIT,
+ INTERP_MODE_COLOR, /**< glShadeModel determines the interp mode */
INTERP_MODE_COUNT /**< Number of interpolation qualifiers */
};