summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-04-21 01:55:06 +0200
committerAlex Deucher <[email protected]>2009-04-21 12:14:35 -0400
commit584303ac8ef60129a9e4281963ebb3b3e16e96ac (patch)
tree565228039aad094292198dc620e24d1e43b8a1e8
parentb8fff1f9f17a2488aa45e875104353814bf59da2 (diff)
r300: r300 hw doesn't support any input modifiers in tex insts
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog_swizzle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog_swizzle.c b/src/mesa/drivers/dri/r300/r300_fragprog_swizzle.c
index 6f0d733d463..fc9d855bce6 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog_swizzle.c
+++ b/src/mesa/drivers/dri/r300/r300_fragprog_swizzle.c
@@ -100,8 +100,7 @@ GLboolean r300FPIsNativeSwizzle(GLuint opcode, struct prog_src_register reg)
opcode == OPCODE_TXP) {
int j;
- if (reg.Abs || (reg.Negate != NEGATE_XYZW &&
- reg.Negate != NEGATE_NONE))
+ if (reg.Abs || reg.Negate)
return GL_FALSE;
for(j = 0; j < 4; ++j) {