summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_state_validate.c
blob: a89d1526c5810c7a92f036be1b2209db2d429c3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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);

	return TRUE;
}