compiler: add INTERP_MODE_COLOR for radeonsi

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6340>
This commit is contained in:
Marek Olšák
2020-08-15 02:45:05 -04:00
parent 6925401a38
commit 99fe3ef8ba
3 changed files with 3 additions and 1 deletions

View 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 "};