From: Kenneth Graunke Date: Wed, 10 Oct 2012 23:52:23 +0000 (-0700) Subject: mesa: Remove GLSL-related PROG_PARAM_BIT flags. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b13252bba7e0f6f70adf7036874988b810a67a3;p=mesa.git mesa: Remove GLSL-related PROG_PARAM_BIT flags. GLSL doesn't use the program code anymore. Accordingly, there were no consumers of these flags, so there's no need to define them. Reviewed-by: Brian Paul Reviewed-by: Eric Anholt --- diff --git a/src/mesa/program/prog_parameter.h b/src/mesa/program/prog_parameter.h index d17069090ef..ef6731ee0db 100644 --- a/src/mesa/program/prog_parameter.h +++ b/src/mesa/program/prog_parameter.h @@ -44,10 +44,6 @@ extern "C" { * Program parameter flags */ /*@{*/ -#define PROG_PARAM_BIT_CENTROID 0x1 /**< for varying vars (GLSL 1.20) */ -#define PROG_PARAM_BIT_INVARIANT 0x2 /**< for varying vars (GLSL 1.20) */ -#define PROG_PARAM_BIT_FLAT 0x4 /**< for varying vars (GLSL 1.30) */ -#define PROG_PARAM_BIT_LINEAR 0x8 /**< for varying vars (GLSL 1.30) */ #define PROG_PARAM_BIT_CYL_WRAP 0x10 /**< XXX gallium debug */ /*@}*/ diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c index 26191baa6e5..bb506ea87c0 100644 --- a/src/mesa/program/prog_print.c +++ b/src/mesa/program/prog_print.c @@ -977,14 +977,6 @@ _mesa_fprint_parameter_list(FILE *f, i, param->Size, _mesa_register_file_name(list->Parameters[i].Type), param->Name, v[0], v[1], v[2], v[3]); - if (param->Flags & PROG_PARAM_BIT_CENTROID) - fprintf(f, " Centroid"); - if (param->Flags & PROG_PARAM_BIT_INVARIANT) - fprintf(f, " Invariant"); - if (param->Flags & PROG_PARAM_BIT_FLAT) - fprintf(f, " Flat"); - if (param->Flags & PROG_PARAM_BIT_LINEAR) - fprintf(f, " Linear"); fprintf(f, "\n"); } }