summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-11-18 15:00:10 +0100
committerMarek Olšák <[email protected]>2011-11-19 17:35:49 +0100
commitec174a424489664626796126f937fbce3e7d8cd8 (patch)
treeaa4346c7c6ebad240bc56025ee01ea4fa5ab02e2 /src/mesa/main
parent90be99427a04a36973f9e3d19161065e1c5177b3 (diff)
mesa: set the gl_FragDepth layout in the GLSL linker
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 285ec0783da..b3427dac17d 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2218,6 +2218,9 @@ struct gl_shader_program
/** Post-link transform feedback info. */
struct gl_transform_feedback_info LinkedTransformFeedback;
+ /** Post-link gl_FragDepth layout for ARB_conservative_depth. */
+ enum gl_frag_depth_layout FragDepthLayout;
+
/** Geometry shader state - copied into gl_geometry_program at link time */
struct {
GLint VerticesOut;