aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_state_validate.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-12 03:41:05 +1100
committerBen Skeggs <[email protected]>2008-03-12 03:41:05 +1100
commit06bd7d78b979df66915b161157f2b6b1c09ad285 (patch)
treec2ebb8333c9dbe1fe441a0f82d15daf739ad73b7 /src/gallium/drivers/nv50/nv50_state_validate.c
parent9911ca2226cf87e2cc4ffc32e40bccaf0a4e5745 (diff)
nv50: depth_stencil_alpha 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 a89d1526c58..786987c76ad 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -8,7 +8,10 @@ nv50_state_validate(struct nv50_context *nv50)
if (nv50->dirty & NV50_NEW_BLEND)
so_emit(nvws, nv50->blend->so);
+ if (nv50->dirty & NV50_NEW_ZSA)
+ so_emit(nvws, nv50->zsa->so);
+ nv50->dirty = 0;
return TRUE;
}