radeon/r200: enable all the optional drm support bits
authorDave Airlie <airlied@redhat.com>
Tue, 5 May 2009 00:51:44 +0000 (10:51 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 5 May 2009 00:51:44 +0000 (10:51 +1000)
src/mesa/drivers/dri/radeon/radeon_screen.c

index 70ae5d26e2e59507ccf2b04f201af18c59d3d1b5..56dbe746881bc03a32d916e2464e449effd06621 100644 (file)
@@ -1073,6 +1073,15 @@ radeonCreateScreen2(__DRIscreenPrivate *sPriv)
    screen->kernel_mm = 1;
    screen->chip_flags = 0;
 
+   /* if we have kms we can support all of these */
+   screen->drmSupportsCubeMapsR200 = 1;
+   screen->drmSupportsBlendColor = 1;
+   screen->drmSupportsTriPerf = 1;
+   screen->drmSupportsFragShader = 1;
+   screen->drmSupportsPointSprites = 1;
+   screen->drmSupportsCubeMapsR100 = 1;
+   screen->drmSupportsVertexProgram = 1;
+
    ret = radeonGetParam(sPriv, RADEON_PARAM_IRQ_NR, &screen->irq);
 
    ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id);