diff options
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index d956848dd1..75aeb3eff7 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -500,6 +500,12 @@ struct r300_depthbuffer_state { GLfloat scale; }; +struct r300_stencilbuffer_state { + GLuint clear; + GLboolean hw_stencil; + +}; + struct r300_vap_reg_state { /* input register assigments */ int i_coords; @@ -678,7 +684,9 @@ struct r300_state { struct { int transform_offset; /* Transform matrix offset, -1 if none */ } vap_param; /* vertex processor parameter allocation - tells where to write parameters */ - int hw_stencil; + + struct r300_stencilbuffer_state stencil; + }; |