summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_state.c
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-07-03 22:31:23 +0200
committerPatrice Mandin <[email protected]>2008-07-03 22:31:23 +0200
commite7e231a5116aed9f1ca685a297032a3e3e6a2433 (patch)
treed45751a8c306955a673050d4bdbee43657354ec7 /src/gallium/drivers/nv30/nv30_state.c
parentf1d24c1d27255e4ff5ba451e6d58558f9ccdc801 (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.c4
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