Merge remote branch 'upstream/gallium-0.2' into nouveau-gallium-0.2
[mesa.git] / src / gallium / drivers / nv40 / nv40_state_zsa.c
1 #include "nv40_context.h"
2
3 static boolean
4 nv40_state_zsa_validate(struct nv40_context *nv40)
5 {
6 so_ref(nv40->zsa->so,
7 &nv40->state.hw[NV40_STATE_ZSA]);
8 return TRUE;
9 }
10
11 struct nv40_state_entry nv40_state_zsa = {
12 .validate = nv40_state_zsa_validate,
13 .dirty = {
14 .pipe = NV40_NEW_ZSA,
15 .hw = NV40_STATE_ZSA
16 }
17 };