summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_state.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-14 12:25:25 -0700
committerBrian <[email protected]>2007-12-14 12:25:25 -0700
commit017f862de1f857bca29f09794539aaf411014f13 (patch)
treeb48e4c1cf03529d7b3ec22aac2047bbb5c567cdc /src/mesa/pipe/p_state.h
parentf3b3ea9742e6511fa46332c2c6d2433f96cc5c10 (diff)
Added origin_lower_left field to pipe_rasterizer_state
This controls whether the window origin is considered to be the lower-left or upper-left corner. This effects computation of gl_FragCoord and the application of polygon stipple.
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r--src/mesa/pipe/p_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h
index 43b710ff3b6..af65d365bf0 100644
--- a/src/mesa/pipe/p_state.h
+++ b/src/mesa/pipe/p_state.h
@@ -94,6 +94,7 @@ struct pipe_rasterizer_state
unsigned line_stipple_factor:8; /**< [1..256] actually */
unsigned line_stipple_pattern:16;
unsigned bypass_clipping:1;
+ unsigned origin_lower_left:1; /**< Is (0,0) the lower-left corner? */
float line_width;
float point_size; /**< used when no per-vertex size */