Module: Mesa Branch: 8.0 Commit: 3d436f6c376e0a564f7c6877fdfcae50662ce640 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d436f6c376e0a564f7c6877fdfcae50662ce640
Author: Marek Olšák <[email protected]> Date: Wed Apr 4 01:46:31 2012 +0200 r300g/swtcl: fix polygon offset (cherry picked from commit c3481f341021c87c86a69bcf892447e55b0687e9) --- src/gallium/drivers/r300/r300_state.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 8dc7ae9..c43352a 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -1048,6 +1048,10 @@ static void* r300_create_rs_state(struct pipe_context* pipe, /* Override some states for Draw. */ rs->rs_draw.sprite_coord_enable = 0; /* We can do this in HW. */ + rs->rs_draw.offset_point = 0; + rs->rs_draw.offset_line = 0; + rs->rs_draw.offset_tri = 0; + rs->rs_draw.offset_clamp = 0; #ifdef PIPE_ARCH_LITTLE_ENDIAN vap_control_status = R300_VC_NO_SWAP; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
