Merge remote branch 'origin/master' into nv50-compiler
[mesa.git] / src / gallium / drivers / nvfx / nvfx_state_stipple.c
1 #include "nvfx_context.h"
2
3 void
4 nvfx_state_stipple_validate(struct nvfx_context *nvfx)
5 {
6 struct nouveau_channel *chan = nvfx->screen->base.channel;
7
8 WAIT_RING(chan, 33);
9 OUT_RING(chan, RING_3D(NV34TCL_POLYGON_STIPPLE_PATTERN(0), 32));
10 OUT_RINGp(chan, nvfx->stipple, 32);
11 }