summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-04-15 10:03:48 +0200
committerMarek Olšák <[email protected]>2010-04-15 10:15:42 +0200
commit6b46df961691a4cd5ebb155e29bd4f739b0a3840 (patch)
treedf538931c0015b12c4ac24f89d938b18b656d213 /src
parent948ce60a267e8d4ef025816eeb7110d3e363c41a (diff)
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..
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_fs.c3
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 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: