summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-02-02 16:13:41 -0800
committerCorbin Simpson <[email protected]>2009-02-02 16:13:41 -0800
commitfa3c59136e9dd788ee7d3689b6cb89dd27040a9e (patch)
tree277bd446c6a6cd38d1ab43f2611a566f1fc06bb2 /src/gallium
parent33d798c4eab57293336082c7d011aa27af693bbb (diff)
r300: Take care of some XXXes.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_chipset.c3
-rw-r--r--src/gallium/drivers/r300/r300_screen.c11
-rw-r--r--src/gallium/drivers/r300/r300_winsys.h1
3 files changed, 7 insertions, 8 deletions
diff --git a/src/gallium/drivers/r300/r300_chipset.c b/src/gallium/drivers/r300/r300_chipset.c
index 4c84be26efa..b0a7fe7d213 100644
--- a/src/gallium/drivers/r300/r300_chipset.c
+++ b/src/gallium/drivers/r300/r300_chipset.c
@@ -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;
}
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 99dcf38f431..8e77e0ddd97 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -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 */
diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h
index 867d65b7de1..5a3a2128927 100644
--- a/src/gallium/drivers/r300/r300_winsys.h
+++ b/src/gallium/drivers/r300/r300_winsys.h
@@ -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. */