* Program parameter flags
*/
/*@{*/
-#define PROG_PARAM_CENTROID_BIT 0x1 /**< for varying vars (GLSL 1.20) */
-#define PROG_PARAM_INVARIANT_BIT 0x2 /**< for varying vars (GLSL 1.20) */
-#define PROG_PARAM_FLAT_BIT 0x4 /**< for varying vars (GLSL 1.30) */
-#define PROG_PARAM_LINEAR_BIT 0x8 /**< for varying vars (GLSL 1.30) */
+#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) */
/*@}*/
i, param->Size,
file_string(list->Parameters[i].Type, mode),
param->Name, v[0], v[1], v[2], v[3]);
- if (param->Flags & PROG_PARAM_CENTROID_BIT)
+ if (param->Flags & PROG_PARAM_BIT_CENTROID)
_mesa_printf(" Centroid");
- if (param->Flags & PROG_PARAM_INVARIANT_BIT)
+ if (param->Flags & PROG_PARAM_BIT_INVARIANT)
_mesa_printf(" Invariant");
- if (param->Flags & PROG_PARAM_FLAT_BIT)
+ if (param->Flags & PROG_PARAM_BIT_FLAT)
_mesa_printf(" Flat");
- if (param->Flags & PROG_PARAM_LINEAR_BIT)
+ if (param->Flags & PROG_PARAM_BIT_LINEAR)
_mesa_printf(" Linear");
_mesa_printf("\n");
}