From 6b46df961691a4cd5ebb155e29bd4f739b0a3840 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 15 Apr 2010 10:03:48 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.30.2