aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_state_rasterizer.c
blob: 0d35ecbf209b72e01d17f9856e60cc1b48943326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "nvfx_context.h"

static boolean
nvfx_state_rasterizer_validate(struct nvfx_context *nvfx)
{
	so_ref(nvfx->rasterizer->so,
	       &nvfx->state.hw[NVFX_STATE_RAST]);
	return TRUE;
}

struct nvfx_state_entry nvfx_state_rasterizer = {
	.validate = nvfx_state_rasterizer_validate,
	.dirty = {
		.pipe = NVFX_NEW_RAST,
		.hw = NVFX_STATE_RAST
	}
};