r300: Take care of some XXXes.

This commit is contained in:
Corbin Simpson 2009-02-02 16:13:41 -08:00
parent 33d798c4ea
commit fa3c59136e
3 changed files with 7 additions and 8 deletions

View file

@ -337,7 +337,8 @@ void r300_parse_chipset(struct r300_capabilities* caps)
break;
default:
/* XXX not an r300?! */
debug_printf("r300: Warning: Unknown chipset 0x%x\n",
caps->pci_id);
break;
}

View file

@ -81,12 +81,11 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
/* IN THEORY */
return 0;
case PIPE_CAP_TWO_SIDED_STENCIL:
/* IN THEORY */
/* if (r300screen->is_r500) {
* return 1;
* } else {
* return 0;
* } */
if (r300screen->is_r500) {
return 1;
} else {
return 0;
}
return 0;
case PIPE_CAP_GLSL:
/* IN THEORY */

View file

@ -64,7 +64,6 @@ struct r300_winsys {
int line);
/* Write a dword to the command buffer. */
/* XXX is this an okay name for this handle? */
void (*write_cs_dword)(struct radeon_cs* cs, uint32_t dword);
/* Write a relocated dword to the command buffer. */