From b3fa0d311e553ec815d58e58a30aa8b3927e4afd Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sat, 24 Sep 2011 15:42:46 +0200 Subject: nv50,nvc0: support polygon offset clamp state --- src/gallium/drivers/nv50/nv50_state.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/nv50/nv50_state.c') diff --git a/src/gallium/drivers/nv50/nv50_state.c b/src/gallium/drivers/nv50/nv50_state.c index 0e08b096f58..ede8713ae76 100644 --- a/src/gallium/drivers/nv50/nv50_state.c +++ b/src/gallium/drivers/nv50/nv50_state.c @@ -308,6 +308,8 @@ nv50_rasterizer_state_create(struct pipe_context *pipe, SB_DATA (so, fui(cso->offset_scale)); SB_BEGIN_3D(so, POLYGON_OFFSET_UNITS, 1); SB_DATA (so, fui(cso->offset_units * 2.0f)); + SB_BEGIN_3D(so, POLYGON_OFFSET_CLAMP, 1); + SB_DATA (so, fui(cso->offset_clamp)); } assert(so->size <= (sizeof(so->state) / sizeof(so->state[0]))); -- cgit v1.2.3