summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Jaeger <ThJaeger@gmail.com>2009-01-23 20:03:27 -0500
committerMichel Dänzer <daenzer@vmware.com>2009-01-24 10:52:22 +0100
commit7e54c4b8acafead8de5d0dd6fdc1b619f832dd6f (patch)
tree62ea1e2bb140fa6d39f9a756c4edfe9e5b11b080 /src
parent5f98508effbdc1fd62d0df15798722c147d88da1 (diff)
Fall back to software for unsupported repeat modes
Diffstat (limited to 'src')
-rw-r--r--src/radeon_exa_render.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index e33afef3..38a9ea74 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -344,6 +344,11 @@ static Bool R100CheckCompositeTexture(PicturePtr pPict, int unit)
RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter));
}
+ if (pPict->repeat && pPict->repeatType != RepeatNormal)
+ {
+ RADEON_FALLBACK(("Unsupported repeat type %d\n", pPict->repeat));
+ }
+
return TRUE;
}
@@ -666,6 +671,11 @@ static Bool R200CheckCompositeTexture(PicturePtr pPict, int unit)
pPict->filter != PictFilterBilinear)
RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter));
+ if (pPict->repeat && pPict->repeatType != RepeatNormal)
+ {
+ RADEON_FALLBACK(("Unsupported repeat type %d\n", pPict->repeat));
+ }
+
return TRUE;
}
@@ -1002,6 +1012,11 @@ static Bool R300CheckCompositeTexture(PicturePtr pPict,
RADEON_FALLBACK(("REPEAT_NONE unsupported for transformed xRGB source\n"));
}
+ if (pPict->repeat && pPict->repeatType != RepeatNormal)
+ {
+ RADEON_FALLBACK(("Unsupported repeat type %d\n", pPict->repeat));
+ }
+
return TRUE;
}