diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2009-04-01 08:37:36 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2009-04-03 08:33:19 +1000 |
commit | 030533dd10b3b30ed5b132fe59f89040ce56e3a0 (patch) | |
tree | 1426852af0ea956fac7907bbd001000db409217f | |
parent | ebc1478e501d43e0de54e7b6c3edfbc81d7d20c6 (diff) |
nv50: fix viewport state update
-rw-r--r-- | src/gallium/drivers/nv50/nv50_state_validate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c index fc6157dbd0..c13d3de1cb 100644 --- a/src/gallium/drivers/nv50/nv50_state_validate.c +++ b/src/gallium/drivers/nv50/nv50_state_validate.c @@ -244,7 +244,7 @@ nv50_state_validate(struct nv50_context *nv50) } scissor_uptodate: - if (nv50->dirty & NV50_NEW_VIEWPORT) { + if (nv50->dirty & (NV50_NEW_VIEWPORT | NV50_NEW_RASTERIZER)) { unsigned bypass; if (!nv50->rasterizer->pipe.bypass_vs_clip_and_viewport) @@ -281,6 +281,7 @@ scissor_uptodate: so_ref(so, &nv50->state.viewport); so_ref(NULL, &so); + nv50->state.dirty |= NV50_NEW_VIEWPORT; } viewport_uptodate: |