summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_state_rasterizer.c
blob: 1a83da52047e42b16dd0ca42b0030fee2e64d5b1 (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 nvfx_context *nvfx)
{
	so_ref(nvfx->rasterizer->so,
	       &nvfx->state.hw[NVFX_STATE_RAST]);
	return TRUE;
}

struct nvfx_state_entry nv30_state_rasterizer = {
	.validate = nv30_state_rasterizer_validate,
	.dirty = {
		.pipe = NVFX_NEW_RAST,
		.hw = NVFX_STATE_RAST
	}
};