r300-gallium: Update screen caps.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 16 May 2009 17:46:55 +0000 (10:46 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 16 May 2009 17:46:55 +0000 (10:46 -0700)
Anisotropic filtering should work, and OQ is broken.

src/gallium/drivers/r300/r300_screen.c

index d2c5998c261783b21fa067ef556c786e7fc04ea8..78ed2ad92212e6b5c0e8db92ea7cf44640cfad3e 100644 (file)
@@ -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;