From: Marek Olšák Date: Thu, 15 Apr 2010 08:03:48 +0000 (+0200) Subject: r300g: disable the REPEAT NPOT fallback until it works X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b46df961691a4cd5ebb155e29bd4f739b0a3840;p=mesa.git 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.. --- diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c index 5652faf855f..cf81771bb7b 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: