Mesa (master): r300g: disable the REPEAT NPOT fallback until it works

Marek Olšák mareko at kemper.freedesktop.org
Thu Apr 15 08:16:32 UTC 2010


Module: Mesa
Branch: master
Commit: 6b46df961691a4cd5ebb155e29bd4f739b0a3840
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b46df961691a4cd5ebb155e29bd4f739b0a3840

Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Apr 15 10:03:48 2010 +0200

r300g: disable the REPEAT NPOT fallback until it works

It causes regressions. I haven't tested the MIRROR wrap modes,
so not sure about that..

---

 src/gallium/drivers/r300/r300_fs.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c
index 5652faf..cf81771 100644
--- a/src/gallium/drivers/r300/r300_fs.c
+++ b/src/gallium/drivers/r300/r300_fs.c
@@ -165,7 +165,8 @@ static void get_external_state(
                 switch (s->state.wrap_s) {
                     case PIPE_TEX_WRAP_REPEAT:
                         state->unit[i].wrap_mode = RC_WRAP_REPEAT;
-                        state->unit[i].fake_npot = TRUE;
+                        /* XXX Enable when REPEAT fallback works.
+                        state->unit[i].fake_npot = TRUE; */
                         break;
 
                     case PIPE_TEX_WRAP_CLAMP:




More information about the mesa-commit mailing list