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

struct nvfx_state_entry nv40_state_rasterizer = {
	.validate = nv40_state_rasterizer_validate,
	.dirty = {
		.pipe = NVFX_NEW_RAST,
		.hw = NVFX_STATE_RAST
	}
};