summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_state_stipple.c
blob: b76e9dd3824344af4c166b4b07742efe74084fc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "nvfx_context.h"

void
nvfx_state_stipple_validate(struct nvfx_context *nvfx)
{
	struct nouveau_channel *chan = nvfx->screen->base.channel;

	WAIT_RING(chan, 33);
	OUT_RING(chan, RING_3D(NV34TCL_POLYGON_STIPPLE_PATTERN(0), 32));
	OUT_RINGp(chan, nvfx->stipple, 32);
}