diff options
author | Marek Olšák <[email protected]> | 2010-06-13 04:37:45 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-06-13 17:43:39 +0200 |
commit | f8032116293a1faf4dd76f2cbc10a455b8cde6d7 (patch) | |
tree | 11fea8c909c1f20cff387dc41f9a1b1a734bfcd4 /src/gallium/drivers/r300/r300_context.h | |
parent | 9dd50993c6540729fe7c7397b4a947b3068db162 (diff) |
r300g: turn clip state into a CB
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 6d6185cf1f5..a8e813008f1 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -70,6 +70,12 @@ struct r300_blend_color_state { uint32_t cb[3]; }; +struct r300_clip_state { + struct pipe_clip_state clip; + + uint32_t cb[29]; +}; + struct r300_dsa_state { uint32_t alpha_function; /* R300_FG_ALPHA_FUNC: 0x4bd4 */ uint32_t alpha_reference; /* R500_FG_ALPHA_VALUE: 0x4be0 */ @@ -433,9 +439,6 @@ struct r300_context { struct vertex_info vertex_info; struct pipe_stencil_ref stencil_ref; - - struct pipe_clip_state clip; - struct pipe_viewport_state viewport; /* Stream locations for SWTCL. */ |