diff options
author | Corbin Simpson <[email protected]> | 2009-06-05 11:21:09 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-06-05 11:21:09 -0700 |
commit | 1a359d983512b39783ce9f4eb842d3ea4ec012a6 (patch) | |
tree | b4cd4fe33cb6ac367f3845ed30d83abe706da558 /src/gallium/drivers/r300/r300_state.c | |
parent | 9e4590dff72b8739e787da7f0d86c7066f179186 (diff) |
r300-gallium: Emit UCP.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 0461ffd681a..29e721984f8 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -119,9 +119,10 @@ static void r300_set_clip_state(struct pipe_context* pipe, const struct pipe_clip_state* state) { struct r300_context* r300 = r300_context(pipe); - /* XXX add HW TCL clipping setup */ - draw_flush(r300->draw); - draw_set_clip_state(r300->draw, state); + + r300->clip_state = *state; + + r300->dirty_state |= R300_NEW_CLIP; } static void |