commit | 7dc449d406a88fbb92aedfacfa3869176ba2cb31 | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Fri Mar 14 13:50:01 2008 -0600 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Fri Mar 14 13:50:01 2008 -0600 |
tree | 6d492cfcede356aa60556818a8cc4228c8128895 | |
parent | 14150bc8567cf424fc3a635a33f05213505681be [diff] |
mesa: fix emit_clamp() so that we don't use an output register as temporary IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs).