Bug fixes from X.Org ati-6.6-branch head.
This commit is contained in:
parent
e52ba56f75
commit
f9fcc8e487
@ -204,8 +204,8 @@ static Bool R100CheckCompositeTexture(PicturePtr pPict, int unit)
|
||||
RADEON_FALLBACK(("Unsupported picture format 0x%x\n",
|
||||
(int)pPict->format));
|
||||
|
||||
if (pPict->repeat && ((w & (w - 1)) != 0 || (h & (h - 1)) != 0))
|
||||
RADEON_FALLBACK(("NPOT repeat unsupported (%dx%d)\n", w, h));
|
||||
if (pPict->repeat && ((w != 1) || (h != 1)))
|
||||
RADEON_FALLBACK(("Repeat unsupported (%dx%d)\n", w, h));
|
||||
|
||||
if (pPict->filter != PictFilterNearest &&
|
||||
pPict->filter != PictFilterBilinear)
|
||||
@ -459,8 +459,8 @@ static Bool R200CheckCompositeTexture(PicturePtr pPict, int unit)
|
||||
RADEON_FALLBACK(("Unsupported picture format 0x%x\n",
|
||||
(int)pPict->format));
|
||||
|
||||
if (pPict->repeat && ((w & (w - 1)) != 0 || (h & (h - 1)) != 0))
|
||||
RADEON_FALLBACK(("NPOT repeat unsupported (%dx%d)\n", w, h));
|
||||
if (pPict->repeat && ((w != 1) || (h != 1)))
|
||||
RADEON_FALLBACK(("Repeat unsupported (%dx%d)\n", w, h));
|
||||
|
||||
if (pPict->filter != PictFilterNearest &&
|
||||
pPict->filter != PictFilterBilinear)
|
||||
|
@ -393,7 +393,7 @@ static Bool FUNC_NAME(R100SetupTexture)(
|
||||
ACCEL_PREAMBLE();
|
||||
|
||||
/* render repeat is broken - fix in stable tree by falling back */
|
||||
if (flags & XAA_RENDER_REPEAT)
|
||||
if ((flags & XAA_RENDER_REPEAT) && ((width != 1) || (height != 1)))
|
||||
return FALSE;
|
||||
|
||||
if ((width > 2048) || (height > 2048))
|
||||
@ -730,7 +730,7 @@ static Bool FUNC_NAME(R200SetupTexture)(
|
||||
ACCEL_PREAMBLE();
|
||||
|
||||
/* render repeat is broken - fix in stable tree by falling back */
|
||||
if (flags & XAA_RENDER_REPEAT)
|
||||
if ((flags & XAA_RENDER_REPEAT) && ((width != 1) || (height != 1)))
|
||||
return FALSE;
|
||||
|
||||
if ((width > 2048) || (height > 2048))
|
||||
|
Loading…
Reference in New Issue
Block a user