nv40: kill some warnings
[mesa.git] / src / gallium / drivers / nv40 / nv40_state_clip.c
1 #include "nv40_context.h"
2
3 static boolean
4 nv40_state_clip_validate(struct nv40_context *nv40)
5 {
6
7 if (nv40->render_mode == HW) {
8 nv40->fallback_swtnl &= ~NV40_NEW_UCP;
9 if (nv40->clip.nr)
10 nv40->fallback_swtnl |= NV40_NEW_UCP;
11 }
12
13 return FALSE;
14 }
15
16 struct nv40_state_entry nv40_state_clip = {
17 .validate = nv40_state_clip_validate,
18 .dirty = {
19 .pipe = NV40_NEW_UCP,
20 .hw = 0
21 }
22 };