diff options
author | Marek Olšák <[email protected]> | 2012-04-04 01:46:31 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-04 04:28:41 +0200 |
commit | c3481f341021c87c86a69bcf892447e55b0687e9 (patch) | |
tree | ceb0a617d37b9fa6f0e56c87d9d2f524a61dfeec /src/gallium/drivers/r300 | |
parent | 3b8fe06eb629f887071d5fbe2bc50b7a0c516a25 (diff) |
r300g/swtcl: fix polygon offset
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | 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 05ed81b2b9d..4101523c542 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; |