r300: enable rb3d_discard_src_pixel_lte_threshold for more chips on dri2
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 10 Sep 2009 16:04:38 +0000 (12:04 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Thu, 10 Sep 2009 16:04:38 +0000 (12:04 -0400)
src/mesa/drivers/dri/r300/r300_cmdbuf.c

index dd1a0fe8132cc36a88b2e900649ace766337c48d..da5b7ba642fabc95a95aa48ae16d50362e156185 100644 (file)
@@ -684,11 +684,7 @@ void r300InitCmdBuf(r300ContextPtr r300)
        r300->hw.rb3d_dither_ctl.cmd[0] = cmdpacket0(r300->radeon.radeonScreen, R300_RB3D_DITHER_CTL, 9);
        ALLOC_STATE(rb3d_aaresolve_ctl, always, 2, 0);
        r300->hw.rb3d_aaresolve_ctl.cmd[0] = cmdpacket0(r300->radeon.radeonScreen, R300_RB3D_AARESOLVE_CTL, 1);
-       if ((r300->radeon.radeonScreen->chip_family >= CHIP_FAMILY_RV515) ||
-             ( !r300->radeon.radeonScreen->kernel_mm && (
-           (r300->radeon.radeonScreen->chip_family == CHIP_FAMILY_RS400) ||
-           (r300->radeon.radeonScreen->chip_family == CHIP_FAMILY_RV410) ||
-           (r300->radeon.radeonScreen->chip_family == CHIP_FAMILY_R420) ) ) ) {
+       if (r300->radeon.radeonScreen->chip_family >= CHIP_FAMILY_RV350) {
                ALLOC_STATE(rb3d_discard_src_pixel_lte_threshold, always, 3, 0);
        } else {
                ALLOC_STATE(rb3d_discard_src_pixel_lte_threshold, never, 3, 0);