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 <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke
2012-10-10 16:52:23 -07:00
parent 8d418d1616
commit 4b13252bba
2 changed files with 0 additions and 12 deletions
-4
View File
@@ -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 */
/*@}*/
-8
View File
@@ -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");
}
}