summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_parameter.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-24 08:43:38 -0700
committerBrian Paul <[email protected]>2008-11-24 13:11:05 -0700
commit30685749295e489e8875111b1edc917742ce2c00 (patch)
treedc45cfc8dcb6f9747e536208cbc435e4056ed446 /src/mesa/shader/prog_parameter.h
parent84c1850e8244710bc06ada56fedab786a0a370dc (diff)
mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation
Plus, update the print/debug code.
Diffstat (limited to 'src/mesa/shader/prog_parameter.h')
-rw-r--r--src/mesa/shader/prog_parameter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_parameter.h b/src/mesa/shader/prog_parameter.h
index 829fd25d55f..a8ef0561f7a 100644
--- a/src/mesa/shader/prog_parameter.h
+++ b/src/mesa/shader/prog_parameter.h
@@ -39,7 +39,10 @@
* Program parameter flags
*/
/*@{*/
-#define PROG_PARAM_CENTROID_BIT 0x1
+#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) */
/*@}*/