summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/compiler/r300_fragprog.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-04-15 23:58:38 +0200
committerMarek Olšák <maraeo@gmail.com>2010-04-15 23:58:38 +0200
commit17b41f80bd1e9306de625e4240e6d83c08eec7fd (patch)
treeda8606f4366b074d348da43fd9e4269d4e27622b /src/mesa/drivers/dri/r300/compiler/r300_fragprog.c
parent85cbff5b60c79731a583104a0c2b32ee149b8c8c (diff)
r300/compiler: kill off RC_WRAP_CLAMP
A variant thereof might be later reintroduced for the mirrored-clamp modes.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/r300_fragprog.c')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/r300_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/r300_fragprog.c b/src/mesa/drivers/dri/r300/compiler/r300_fragprog.c
index 50360de3a3..b2cb916880 100644
--- a/src/mesa/drivers/dri/r300/compiler/r300_fragprog.c
+++ b/src/mesa/drivers/dri/r300/compiler/r300_fragprog.c
@@ -174,7 +174,7 @@ int r300_transform_TEX(
}
if (compiler->state.unit[inst->U.I.TexSrcUnit].fake_npot &&
- wrapmode != RC_WRAP_NONE && wrapmode != RC_WRAP_CLAMP) {
+ wrapmode != RC_WRAP_NONE) {
if (wrapmode == RC_WRAP_REPEAT) {
inst_rect = rc_insert_new_instruction(c, inst->Prev);