diff options
author | Patrice Mandin <[email protected]> | 2008-07-03 22:31:23 +0200 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2008-07-03 22:31:23 +0200 |
commit | e7e231a5116aed9f1ca685a297032a3e3e6a2433 (patch) | |
tree | d45751a8c306955a673050d4bdbee43657354ec7 /src/gallium/drivers/nv30/nv30_state.c | |
parent | f1d24c1d27255e4ff5ba451e6d58558f9ccdc801 (diff) |
nv30: Emit polygon stipple state using state objects
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_state.c')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv30/nv30_state.c b/src/gallium/drivers/nv30/nv30_state.c index f2413a3372c..7109deae552 100644 --- a/src/gallium/drivers/nv30/nv30_state.c +++ b/src/gallium/drivers/nv30/nv30_state.c @@ -597,8 +597,8 @@ nv30_set_polygon_stipple(struct pipe_context *pipe, { struct nv30_context *nv30 = nv30_context(pipe); - BEGIN_RING(rankine, NV34TCL_POLYGON_STIPPLE_PATTERN(0), 32); - OUT_RINGp ((uint32_t *)stipple->stipple, 32); + memcpy(nv30->stipple, stipple->stipple, 4 * 32); + nv30->dirty |= NV30_NEW_STIPPLE; } static void |