diff options
author | Alan Hourihane <[email protected]> | 2010-01-04 12:41:33 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2010-01-04 12:41:33 +0000 |
commit | 4a531fb46a6ab544666c5eeb362f3622bd44aaff (patch) | |
tree | f925e4f01238047c361807bb38875c61012de738 /src/gallium/auxiliary/tgsi/tgsi_scan.c | |
parent | e04a818606f5639d9d8df4ebe501abb496bf847f (diff) |
Fix test
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index 0f48b0dc3a1..a6cc773003a 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -229,8 +229,8 @@ tgsi_is_passthrough_shader(const struct tgsi_token *tokens) /* Do a whole bunch of checks for a simple move */ if (fullinst->Instruction.Opcode != TGSI_OPCODE_MOV || - src->Register.File != TGSI_FILE_INPUT || - src->Register.File != TGSI_FILE_SYSTEM_VALUE || + (src->Register.File != TGSI_FILE_INPUT && + src->Register.File != TGSI_FILE_SYSTEM_VALUE) || dst->Register.File != TGSI_FILE_OUTPUT || src->Register.Index != dst->Register.Index || |