r600g: reduce quant mode on evergreen+
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Sep 2012 21:25:42 +0000 (17:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Sep 2012 21:33:35 +0000 (17:33 -0400)
Seems to have an affect on the allowable range of
values.  Set evergreen+ to 1/256 to match 6xx/7xx.

fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=54877

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_state.c

index 56df17448bd9547cb1cf337404af979c69842e12..8235c719f6b720615e14af6286a039346efa643d 100644 (file)
@@ -921,7 +921,7 @@ static void *evergreen_create_rs_state(struct pipe_context *ctx,
        } else {
                r600_pipe_state_add_reg(rstate, R_028C08_PA_SU_VTX_CNTL,
                                        S_028C08_PIX_CENTER_HALF(state->gl_rasterization_rules) |
-                                       S_028C08_QUANT_MODE(V_028C08_X_1_4096TH));
+                                       S_028C08_QUANT_MODE(V_028C08_X_1_256TH));
        }
        r600_pipe_state_add_reg(rstate, R_028B7C_PA_SU_POLY_OFFSET_CLAMP, fui(state->offset_clamp));
        r600_pipe_state_add_reg(rstate, R_028814_PA_SU_SC_MODE_CNTL,