summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-03-04 18:51:44 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-03-04 18:51:44 -0500
commit52f06ace04ad8141effc45fb6a0107a05bb46a73 (patch)
tree1c1928b29a6546ada36abb3d334e715ca2e674b4
parentb1fd883b59b85fed8782e035890098908902f4ce (diff)
R6xx/R7xx: disable XV_BICUBIC attribute
It's not implemented yet.
-rw-r--r--src/radeon_textured_video.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index cbedb7ea..dad77957 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -417,8 +417,11 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn,
}
/* Upload bicubic filter tex */
- if (pPriv->bicubic_enabled)
- RADEONCopyData(pScrn, (uint8_t *)bicubic_tex_512, (uint8_t *)(info->FB + pPriv->bicubic_offset), 1024, 1024, 1, 512, 2);
+ if (pPriv->bicubic_enabled) {
+ if (info->ChipFamily < CHIP_FAMILY_R600)
+ RADEONCopyData(pScrn, (uint8_t *)bicubic_tex_512,
+ (uint8_t *)(info->FB + pPriv->bicubic_offset), 1024, 1024, 1, 512, 2);
+ }
/* update cliplist */
if (!REGION_EQUAL(pScrn->pScreen, &pPriv->clip, clipBoxes)) {
@@ -593,7 +596,7 @@ RADEONSetupImageTexturedVideo(ScreenPtr pScreen)
pPortPriv =
(RADEONPortPrivPtr)(&adapt->pPortPrivates[num_texture_ports]);
- if (IS_R300_3D || IS_R500_3D || IS_R600_3D) {
+ if (IS_R300_3D || IS_R500_3D) {
adapt->pAttributes = Attributes_r300;
adapt->nAttributes = NUM_ATTRIBUTES_R300;
} else {