r300: r300 hw doesn't support any input modifiers in tex insts

This commit is contained in:
Maciej Cencora 2009-04-21 01:55:06 +02:00 committed by Alex Deucher
parent b8fff1f9f1
commit 584303ac8e
1 changed files with 1 additions and 2 deletions

View File

@ -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) {