summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_state.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-02-18 16:26:33 +1100
committerBen Skeggs <[email protected]>2008-02-18 16:26:33 +1100
commit112ba3355a3fa53768efb9a9fb0eeb677bd28d47 (patch)
tree1fc392e27f07491a72e7ea9caefa103b25c2181e /src/gallium/drivers/nv40/nv40_state.c
parentf911235f64d610e57da88487133d0483c7a094e7 (diff)
nv40: until gallium is fixed we'll need a fallback for user clip planes
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_state.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_state.c b/src/gallium/drivers/nv40/nv40_state.c
index d7379e90905..c203b002403 100644
--- a/src/gallium/drivers/nv40/nv40_state.c
+++ b/src/gallium/drivers/nv40/nv40_state.c
@@ -561,6 +561,10 @@ static void
nv40_set_clip_state(struct pipe_context *pipe,
const struct pipe_clip_state *clip)
{
+ struct nv40_context *nv40 = nv40_context(pipe);
+
+ nv40->pipe_state.clip = *clip;
+ nv40->dirty |= NV40_NEW_UCP;
}
static void