summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_state_rasterizer.c
blob: 6d1b60e043d493f2cf50a01270d491139bb0b2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "nv30_context.h"

static boolean
nv30_state_rasterizer_validate(struct nv30_context *nv30)
{
	so_ref(nv30->rasterizer->so,
	       &nv30->state.hw[NV30_STATE_RAST]);
	return TRUE;
}

struct nv30_state_entry nv30_state_rasterizer = {
	.validate = nv30_state_rasterizer_validate,
	.dirty = {
		.pipe = NV30_NEW_RAST,
		.hw = NV30_STATE_RAST
	}
};