summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_state_clip.c
blob: 19f1c3b36de6cfc5bb68b1faea5393925104aa6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "nv40_context.h"

static boolean
nv40_state_clip_validate(struct nv40_context *nv40)
{
	if (nv40->pipe_state.clip.nr)
		nv40->fallback |= NV40_FALLBACK_TNL;

	return FALSE;
}

struct nv40_state_entry nv40_state_clip = {
	.validate = nv40_state_clip_validate,
	.dirty = {
		.pipe = NV40_NEW_UCP,
		.hw = 0
	}
};