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

@@ -281,6 +281,7 @@ glsl_interp_mode_name(enum glsl_interp_mode qual)
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);