diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-05-08 12:55:26 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-05-08 12:55:26 -0400 |
commit | 248b435ae63d7122971a8021f8aa8e0963d8a850 (patch) | |
tree | 64f6485c403f08a820003f231326f99a6b0ae88f | |
parent | cd03bc17ccb30f1598af61c455b623c14ea42e6b (diff) |
R3xx/R4xx tex vid: increase the guardband limit for rendering with a tri
limit goes from 2880 to 4021 now that we've switched to 1/12 subpixel mode.
This allows us to render with a clipped tri at higher resolutions preventing
diagonal tearing.
-rw-r--r-- | src/radeon_textured_videofuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_textured_videofuncs.c b/src/radeon_textured_videofuncs.c index a88d0ab7..9f7cd4c4 100644 --- a/src/radeon_textured_videofuncs.c +++ b/src/radeon_textured_videofuncs.c @@ -2014,7 +2014,7 @@ FUNC_NAME(RADEONDisplayTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv * We render a single, large triangle and use the scissor * functionality to restrict it to the desired rectangle. * Due to guardband limits on r3xx/r4xx, we can only use - * the single triangle up to 2880 pixels; above that we + * the single triangle up to 4021 pixels; above that we * render as a quad. */ @@ -2041,7 +2041,7 @@ FUNC_NAME(RADEONDisplayTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv #endif if (IS_R300_3D || IS_R500_3D) { - if (IS_R300_3D && ((dstw+dsth) > 2880)) + if (IS_R300_3D && ((dstw+dsth) > 4021)) use_quad = TRUE; /* * Set up the scissor area to that of the output size. |