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 5652faf..cf81771 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: