diff options
author | Patrice Mandin <[email protected]> | 2008-07-03 22:18:38 +0200 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2008-07-03 22:18:38 +0200 |
commit | f1d24c1d27255e4ff5ba451e6d58558f9ccdc801 (patch) | |
tree | 63b936bcc2a6943b546be66c24a2d75126ed0aa1 /src/gallium/drivers/nv30/nv30_state.c | |
parent | c66f376e271427799f777c39bc9221df7c961f77 (diff) |
nv30: Emit scissor state using state objects
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_state.c')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_state.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv30/nv30_state.c b/src/gallium/drivers/nv30/nv30_state.c index 8121e62fb92..f2413a3372c 100644 --- a/src/gallium/drivers/nv30/nv30_state.c +++ b/src/gallium/drivers/nv30/nv30_state.c @@ -607,9 +607,8 @@ nv30_set_scissor_state(struct pipe_context *pipe, { struct nv30_context *nv30 = nv30_context(pipe); - BEGIN_RING(rankine, NV34TCL_SCISSOR_HORIZ, 2); - OUT_RING (((s->maxx - s->minx) << 16) | s->minx); - OUT_RING (((s->maxy - s->miny) << 16) | s->miny); + nv30->scissor = *s; + nv30->dirty |= NV30_NEW_SCISSOR; } static void |