summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-17 16:48:13 -0600
committerBrian Paul <[email protected]>2008-09-17 16:48:13 -0600
commitd7a7b0a10dd355fbeb7a404091a42d4ab558c820 (patch)
tree6580b3dab45c18fa892e73c5ccbe99a11bc9eade /src/mesa/main
parent3b3d34d637d413af48fa5bd037b579ccb4ea7bb5 (diff)
mesa: new gl_fragment_program fields indicating use of fog, front-facing, point coord
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 2fc169493ba..a5e1cf6a276 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1953,7 +1953,10 @@ struct gl_fragment_program
{
struct gl_program Base; /**< base class */
GLenum FogOption;
- GLboolean UsesKill;
+ GLboolean UsesKill; /**< shader uses KIL instruction */
+ GLboolean UsesPointCoord; /**< shader uses gl_PointCoord */
+ GLboolean UsesFrontFacing; /**< shader used gl_FrontFacing */
+ GLboolean UsesFogFragCoord; /**< shader used gl_FogFragCoord */
};