summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_state_validate.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-12 04:29:58 +1100
committerBen Skeggs <[email protected]>2008-03-12 04:29:58 +1100
commitcd85dc1e5dfa37cb9bee696e5e18332e3f1d65a1 (patch)
tree71951773d3c3c688c11f58a1c6ae53a138d40f6f /src/gallium/drivers/nv50/nv50_state_validate.c
parent2fee5f76483feb301546b24c26eea699732ffb57 (diff)
nv50: rasterizer stateobj
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_state_validate.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_state_validate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index 8920b6f49b0..8921bfaf887 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -15,6 +15,9 @@ nv50_state_validate(struct nv50_context *nv50)
if (nv50->dirty & NV50_NEW_ZSA)
so_emit(nvws, nv50->zsa->so);
+ if (nv50->dirty & NV50_NEW_RASTERIZER)
+ so_emit(nvws, nv50->rasterizer->so);
+
if (nv50->dirty & NV50_NEW_BLEND_COLOUR) {
so = so_new(5, 0);
so_method(so, tesla, NV50TCL_BLEND_COLOR(0), 8);