r300g: Add a few more params.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sun, 20 Dec 2009 22:00:34 +0000 (14:00 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sun, 20 Dec 2009 22:00:34 +0000 (14:00 -0800)
src/gallium/drivers/r300/r300_screen.c

index a7ef3dbcc291471ab604f4c015178b7814bc5c25..2a8667d483556cdb1915da3c6fd35f78f56eb651 100644 (file)
@@ -142,6 +142,10 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
             return 0;
         case PIPE_CAP_BLEND_EQUATION_SEPARATE:
             return 1;
+        case PIPE_CAP_SM3:
+            return 1;
+        case PIPE_CAP_MAX_COMBINED_SAMPLERS:
+            return 8;
         default:
             debug_printf("r300: Implementation error: Bad param %d\n",
                 param);