diff options
author | Dave Airlie <airlied@redhat.com> | 2009-05-05 10:51:44 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-05-05 10:51:44 +1000 |
commit | f616995e5ed56745c4470b2ca5aeeb8d89a8c9db (patch) | |
tree | 19d6efebeefdff1b134b07d96f4beae08d1060b6 /src | |
parent | 0b22615c2c860968a027c04519e25864ae69f6cd (diff) |
radeon/r200: enable all the optional drm support bits
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 70ae5d26e2..56dbe74688 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -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); |