Rev 1430 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1430 | Rev 1963 | ||
---|---|---|---|
Line 606... | Line 606... | ||
606 | * Don't know about other chips. - Vladimir |
606 | * Don't know about other chips. - Vladimir |
607 | * This is set to 3 when GL_POLYGON_OFFSET_FILL is on. |
607 | * This is set to 3 when GL_POLYGON_OFFSET_FILL is on. |
608 | * My guess is that there are two bits for each zbias primitive |
608 | * My guess is that there are two bits for each zbias primitive |
609 | * (FILL, LINE, POINT). |
609 | * (FILL, LINE, POINT). |
610 | * One to enable depth test and one for depth write. |
610 | * One to enable depth test and one for depth write. |
611 | * Yet this doesnt explain why depth writes work ... |
611 | * Yet this doesn't explain why depth writes work ... |
612 | */ |
612 | */ |
613 | #define R300_RE_OCCLUSION_CNTL 0x42B4 |
613 | #define R300_RE_OCCLUSION_CNTL 0x42B4 |
614 | # define R300_OCCLUSION_ON (1<<1) |
614 | # define R300_OCCLUSION_ON (1<<1) |
Line 615... | Line 615... | ||
615 | 615 | ||
Line 815... | Line 815... | ||
815 | # define R300_TX_MIN_FILTER_NEAREST_MIP_NEAREST (5 << 11) |
815 | # define R300_TX_MIN_FILTER_NEAREST_MIP_NEAREST (5 << 11) |
816 | # define R300_TX_MIN_FILTER_NEAREST_MIP_LINEAR (9 << 11) |
816 | # define R300_TX_MIN_FILTER_NEAREST_MIP_LINEAR (9 << 11) |
817 | # define R300_TX_MIN_FILTER_LINEAR_MIP_NEAREST (6 << 11) |
817 | # define R300_TX_MIN_FILTER_LINEAR_MIP_NEAREST (6 << 11) |
818 | # define R300_TX_MIN_FILTER_LINEAR_MIP_LINEAR (10 << 11) |
818 | # define R300_TX_MIN_FILTER_LINEAR_MIP_LINEAR (10 << 11) |
Line 819... | Line 819... | ||
819 | 819 | ||
820 | /* NOTE: NEAREST doesnt seem to exist. |
820 | /* NOTE: NEAREST doesn't seem to exist. |
821 | * Im not seting MAG_FILTER_MASK and (3 << 11) on for all |
821 | * Im not seting MAG_FILTER_MASK and (3 << 11) on for all |
822 | * anisotropy modes because that would void selected mag filter |
822 | * anisotropy modes because that would void selected mag filter |
823 | */ |
823 | */ |
824 | # define R300_TX_MIN_FILTER_ANISO_NEAREST (0 << 13) |
824 | # define R300_TX_MIN_FILTER_ANISO_NEAREST (0 << 13) |
Line 1369... | Line 1369... | ||
1369 | # define R300_COLOR_FORMAT_ARGB8888 (3 << 22) |
1369 | # define R300_COLOR_FORMAT_ARGB8888 (3 << 22) |
1370 | #define R300_RB3D_COLORPITCH1 0x4E3C /* GUESS */ |
1370 | #define R300_RB3D_COLORPITCH1 0x4E3C /* GUESS */ |
1371 | #define R300_RB3D_COLORPITCH2 0x4E40 /* GUESS */ |
1371 | #define R300_RB3D_COLORPITCH2 0x4E40 /* GUESS */ |
1372 | #define R300_RB3D_COLORPITCH3 0x4E44 /* GUESS */ |
1372 | #define R300_RB3D_COLORPITCH3 0x4E44 /* GUESS */ |
Line -... | Line 1373... | ||
- | 1373 | ||
- | 1374 | #define R300_RB3D_AARESOLVE_OFFSET 0x4E80 |
|
1373 | 1375 | #define R300_RB3D_AARESOLVE_PITCH 0x4E84 |
|
1374 | #define R300_RB3D_AARESOLVE_CTL 0x4E88 |
1376 | #define R300_RB3D_AARESOLVE_CTL 0x4E88 |
Line 1375... | Line 1377... | ||
1375 | /* gap */ |
1377 | /* gap */ |
1376 | 1378 |