r300g: disable the REPEAT NPOT fallback until it works
authorMarek Olšák <maraeo@gmail.com>
Thu, 15 Apr 2010 08:03:48 +0000 (10:03 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 15 Apr 2010 08:15:42 +0000 (10:15 +0200)
It causes regressions. I haven't tested the MIRROR wrap modes,
so not sure about that..

src/gallium/drivers/r300/r300_fs.c

index 5652faf855f729d88349c8d653796d388cd237c6..cf81771bb7b5afe4dd4cba343fdefbfd0e505c1c 100644 (file)
@@ -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: