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

static boolean
nv40_state_rasterizer_validate(struct nv40_context *nv40)
{
	so_ref(nv40->rasterizer->so,
	       &nv40->state.hw[NV40_STATE_RAST]);
	return TRUE;
}

struct nv40_state_entry nv40_state_rasterizer = {
	.validate = nv40_state_rasterizer_validate,
	.dirty = {
		.pipe = NV40_NEW_RAST,
		.hw = NV40_STATE_RAST
	}
};