diff options
Diffstat (limited to 'src/compiler/shader_enums.c')
-rw-r--r-- | src/compiler/shader_enums.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/compiler/shader_enums.c b/src/compiler/shader_enums.c index ff2f564dc98..00261d1988c 100644 --- a/src/compiler/shader_enums.c +++ b/src/compiler/shader_enums.c @@ -226,15 +226,15 @@ gl_system_value_name(gl_system_value sysval) } const char * -glsl_interp_qualifier_name(enum glsl_interp_qualifier qual) +glsl_interp_mode_name(enum glsl_interp_mode qual) { static const char *names[] = { - ENUM(INTERP_QUALIFIER_NONE), - ENUM(INTERP_QUALIFIER_SMOOTH), - ENUM(INTERP_QUALIFIER_FLAT), - ENUM(INTERP_QUALIFIER_NOPERSPECTIVE), + ENUM(INTERP_MODE_NONE), + ENUM(INTERP_MODE_SMOOTH), + ENUM(INTERP_MODE_FLAT), + ENUM(INTERP_MODE_NOPERSPECTIVE), }; - STATIC_ASSERT(ARRAY_SIZE(names) == INTERP_QUALIFIER_COUNT); + STATIC_ASSERT(ARRAY_SIZE(names) == INTERP_MODE_COUNT); return NAME(qual); } |