diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-14 13:59:32 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-14 13:59:32 -0600 |
commit | 868193d54efd6b181fdd3bacf6c88d5ef5a6bc4c (patch) | |
tree | f8b2ee64d0f8e6636980f0e9edba4ad76e89fa3b /src/mesa/shader/slang/slang_print.h | |
parent | 42c279a03b4d3529efc0d552c37ace2c82306822 (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).
Diffstat (limited to 'src/mesa/shader/slang/slang_print.h')
0 files changed, 0 insertions, 0 deletions