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 70ae5d2..56dbe74 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);