aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/program
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-08-09 08:20:19 +0200
committermarha <marha@users.sourceforge.net>2011-08-09 08:20:19 +0200
commit93ed12672618a2e321cb79a3b3a656aae63d6beb (patch)
treef05cc2daca62dcd4b312e7bc0cf392cb8b53d5ce /mesalib/src/mesa/program
parent0c2b3e6fd26158cb97f4210cc891e218801b4b25 (diff)
downloadvcxsrv-93ed12672618a2e321cb79a3b3a656aae63d6beb.tar.gz
vcxsrv-93ed12672618a2e321cb79a3b3a656aae63d6beb.tar.bz2
vcxsrv-93ed12672618a2e321cb79a3b3a656aae63d6beb.zip
xrandrproto mesa git update 9 aug 2011
Diffstat (limited to 'mesalib/src/mesa/program')
-rw-r--r--mesalib/src/mesa/program/prog_parameter.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/mesalib/src/mesa/program/prog_parameter.h b/mesalib/src/mesa/program/prog_parameter.h
index f858cf0fa..1a5ed3439 100644
--- a/mesalib/src/mesa/program/prog_parameter.h
+++ b/mesalib/src/mesa/program/prog_parameter.h
@@ -46,16 +46,19 @@
#define PROG_PARAM_BIT_CYL_WRAP 0x10 /**< XXX gallium debug */
/*@}*/
+
/**
* Actual data for constant values of parameters.
*/
-typedef union gl_constant_value {
- GLfloat f;
- GLboolean b;
- GLint i;
- GLuint u;
+typedef union gl_constant_value
+{
+ GLfloat f;
+ GLboolean b;
+ GLint i;
+ GLuint u;
} gl_constant_value;
+
/**
* Program parameter.
* Used by shaders/programs for uniforms, constants, varying vars, etc.