nv40: support vp clip distance regs, unused currently.
[mesa.git] / src / gallium / drivers / nv40 / nv40_state_zsa.c
index 061a3555cbe7515edbfe545417c0b3bf9d4ea405..fb760677c8890e3ed07c8d039c186f68bcfc1e81 100644 (file)
@@ -3,7 +3,7 @@
 static boolean
 nv40_state_zsa_validate(struct nv40_context *nv40)
 {
-       so_ref(nv40->pipe_state.zsa->so,
+       so_ref(nv40->zsa->so,
               &nv40->state.hw[NV40_STATE_ZSA]);
        return TRUE;
 }