summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_state_zsa.c
blob: 0940b7269b2235c9f6b7fe01d47caf65244a37b0 (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_zsa_validate(struct nv30_context *nv30)
{
	so_ref(nv30->zsa->so,
	       &nv30->state.hw[NV30_STATE_ZSA]);
	return TRUE;
}

struct nv30_state_entry nv30_state_zsa = {
	.validate = nv30_state_zsa_validate,
	.dirty = {
		.pipe = NV30_NEW_ZSA,
		.hw = NV30_STATE_ZSA
	}
};