Browse Source

r300: Added R300_AA_DISABLE for R300_GB_AA_CONFIG.

tags/mesa_7_0
Oliver McFadden 18 years ago
parent
commit
8445960d9f
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      src/mesa/drivers/dri/r300/r300_reg.h
  2. 1
    1
      src/mesa/drivers/dri/r300/r300_state.c

+ 1
- 0
src/mesa/drivers/dri/r300/r300_reg.h View File

@@ -488,6 +488,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
# define R300_GB_W_SELECT_1 (1<<4)

#define R300_GB_AA_CONFIG 0x4020
# define R300_AA_DISABLE 0x00
# define R300_AA_ENABLE 0x01
# define R300_AA_SUBSAMPLES_2 0
# define R300_AA_SUBSAMPLES_3 (1<<1)

+ 1
- 1
src/mesa/drivers/dri/r300/r300_state.c View File

@@ -1983,7 +1983,7 @@ void r300ResetHwState(r300ContextPtr r300)
| R300_GB_TILE_SIZE_16;
/* set to 0 when fog is disabled? */
r300->hw.gb_misc.cmd[R300_GB_MISC_SELECT] = R300_GB_FOG_SELECT_1_1_W;
r300->hw.gb_misc.cmd[R300_GB_MISC_AA_CONFIG] = 0x00000000; /* No antialiasing */
r300->hw.gb_misc.cmd[R300_GB_MISC_AA_CONFIG] = R300_AA_DISABLE; /* No antialiasing */

r300->hw.unk4200.cmd[1] = r300PackFloat32(0.0);
r300->hw.unk4200.cmd[2] = r300PackFloat32(0.0);

Loading…
Cancel
Save