aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-05-16 10:46:55 -0700
committerCorbin Simpson <[email protected]>2009-05-16 10:46:55 -0700
commit13f8e7bc9c5b4a7de0fe4f53af2eb6237b3e71fd (patch)
tree7ea6f606554fa61887b8fc618bc1c56bb84d68a6
parent0e8c6e56e467864249dfa311be1eef4dfc381f2a (diff)
r300-gallium: Update screen caps.
Anisotropic filtering should work, and OQ is broken.
-rw-r--r--src/gallium/drivers/r300/r300_screen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index d2c5998c261..78ed2ad9221 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -87,7 +87,6 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
} else {
return 0;
}
- return 0;
case PIPE_CAP_GLSL:
/* IN THEORY */
return 0;
@@ -95,15 +94,15 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
/* IN THEORY */
return 0;
case PIPE_CAP_ANISOTROPIC_FILTER:
- /* IN THEORY */
- return 0;
+ return 1;
case PIPE_CAP_POINT_SPRITE:
/* IN THEORY */
return 0;
case PIPE_CAP_MAX_RENDER_TARGETS:
return 4;
case PIPE_CAP_OCCLUSION_QUERY:
- return 1;
+ /* IN THEORY */
+ return 0;
case PIPE_CAP_TEXTURE_SHADOW_MAP:
/* IN THEORY */
return 0;