diff options
author | Brian Paul <[email protected]> | 2008-09-17 16:48:13 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-17 16:48:13 -0600 |
commit | d7a7b0a10dd355fbeb7a404091a42d4ab558c820 (patch) | |
tree | 6580b3dab45c18fa892e73c5ccbe99a11bc9eade /src/mesa/main | |
parent | 3b3d34d637d413af48fa5bd037b579ccb4ea7bb5 (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.h | 5 |
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 */ }; |