diff options
author | Marek Olšák <[email protected]> | 2010-04-16 01:59:11 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-16 02:04:18 +0200 |
commit | 80d89aa0d28ca987d958c1033eeb7e4a3c10368b (patch) | |
tree | f7331b453e38eddbcdcc701bd5aea8735200d432 /src/gallium/drivers/r300 | |
parent | 4855b568ba66a4a55a78caa9867b08feaade5d1b (diff) |
r300/compiler: fix repeat wrap mode for TXP and NPOTs
No idea why st/mesa unnecessarily inserts TXP where TEX is sufficient.
Also re-enabling the NPOT fallback for repeat in r300g.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_fs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c index 01fd67e536b..a37f23aaef2 100644 --- a/src/gallium/drivers/r300/r300_fs.c +++ b/src/gallium/drivers/r300/r300_fs.c @@ -165,8 +165,7 @@ static void get_external_state( switch (s->state.wrap_s) { case PIPE_TEX_WRAP_REPEAT: state->unit[i].wrap_mode = RC_WRAP_REPEAT; - /* XXX Enable when REPEAT fallback works. - state->unit[i].fake_npot = TRUE; */ + state->unit[i].fake_npot = TRUE; break; case PIPE_TEX_WRAP_MIRROR_REPEAT: |