diff options
author | Marek Olšák <[email protected]> | 2010-07-24 23:05:40 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-25 10:25:21 +0200 |
commit | 49330fc5ac13e25cb201e62995329cffaf5046f0 (patch) | |
tree | e5cf700875018050f378a75cacc8b79cb3ae6e3e /src/gallium/drivers/r300/r300_fs.c | |
parent | c92d232061c1aef6f5f56cbd815625778db2fd8c (diff) |
r300g: do not use TXPITCH_EN if the width is POT and the height is NPOT
Diffstat (limited to 'src/gallium/drivers/r300/r300_fs.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c index 6eac12bfb9f..db5269912e2 100644 --- a/src/gallium/drivers/r300/r300_fs.c +++ b/src/gallium/drivers/r300/r300_fs.c @@ -173,7 +173,7 @@ static void get_external_state( t = (struct r300_texture*)texstate->sampler_views[i]->base.texture; /* XXX this should probably take into account STR, not just S. */ - if (t->desc.uses_stride_addressing) { + if (t->desc.is_npot) { switch (s->state.wrap_s) { case PIPE_TEX_WRAP_REPEAT: state->unit[i].wrap_mode = RC_WRAP_REPEAT; |