nv50: crappy state validate/emit function
[mesa.git] / src / gallium / drivers / nv50 / nv50_state_validate.c
1 #include "nv50_context.h"
2 #include "nouveau/nouveau_stateobj.h"
3
4 boolean
5 nv50_state_validate(struct nv50_context *nv50)
6 {
7 struct nouveau_winsys *nvws = nv50->screen->nvws;
8
9 if (nv50->dirty & NV50_NEW_BLEND)
10 so_emit(nvws, nv50->blend->so);
11
12 return TRUE;
13 }
14