summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-03-01 17:07:03 +0100
committerMichal Krol <[email protected]>2010-03-01 17:07:03 +0100
commitb42455c4f48076eec34e383d5b9cc4670f2d048f (patch)
treee0d8fabc9dedc13345498f6600b948dcd56f0358 /src/gallium/drivers/r300/r300_context.h
parent932e6f8d527d2147ecc4e75ce9ae2f71e23e61af (diff)
r300: Save viewport and clip states before invoking blitter.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 2f056aafcbf..97100c08ccb 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -333,6 +333,10 @@ struct r300_context {
struct pipe_stencil_ref stencil_ref;
+ struct pipe_clip_state clip;
+
+ struct pipe_viewport_state viewport;
+
/* Bitmask of dirty state objects. */
uint32_t dirty_state;
/* Flag indicating whether or not the HW is dirty. */