summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_context.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-03-14 13:50:01 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-03-14 13:50:01 -0600
commit7dc449d406a88fbb92aedfacfa3869176ba2cb31 (patch)
tree6d492cfcede356aa60556818a8cc4228c8128895 /src/mesa/swrast/s_context.c
parent14150bc8567cf424fc3a635a33f05213505681be (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/swrast/s_context.c')
0 files changed, 0 insertions, 0 deletions