Mesa (master): r300g: Fix MSAA state size.

Corbin Simpson csimpson at kemper.freedesktop.org
Wed Jun 16 11:02:13 PDT 2010


Module: Mesa
Branch: master
Commit: 61145c0d5c1abe6882a076f57b1b51c83aedbc33
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61145c0d5c1abe6882a076f57b1b51c83aedbc33

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jun 16 10:51:35 2010 -0700

r300g: Fix MSAA state size.

---

 src/gallium/drivers/r300/r300_state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 651ad7d..ed0dbe8 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -985,7 +985,7 @@ static void r300_bind_rs_state(struct pipe_context* pipe, void* state)
 
     UPDATE_STATE(state, r300->rs_state);
     r300->rs_state.size = 25 + (r300->polygon_offset_enabled ? 5 : 0 +
-        r300->rws->get_value(r300->rws, R300_VID_DRM_2_3_0) ? 6 : 0);
+        r300->rws->get_value(r300->rws, R300_VID_DRM_2_3_0) ? 5 : 0);
 
     if (last_sprite_coord_enable != r300->sprite_coord_enable ||
         last_two_sided_color != r300->two_sided_color) {



More information about the mesa-commit mailing list