blob: 786987c76ad8b06e62488c672e01e66aecb99434 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "nv50_context.h"
#include "nouveau/nouveau_stateobj.h"
boolean
nv50_state_validate(struct nv50_context *nv50)
{
struct nouveau_winsys *nvws = nv50->screen->nvws;
if (nv50->dirty & NV50_NEW_BLEND)
so_emit(nvws, nv50->blend->so);
if (nv50->dirty & NV50_NEW_ZSA)
so_emit(nvws, nv50->zsa->so);
nv50->dirty = 0;
return TRUE;
}
|