summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_debug.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-14 13:59:32 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-14 13:59:32 -0600
commit868193d54efd6b181fdd3bacf6c88d5ef5a6bc4c (patch)
treef8b2ee64d0f8e6636980f0e9edba4ad76e89fa3b /src/mesa/shader/prog_debug.c
parent42c279a03b4d3529efc0d552c37ace2c82306822 (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/prog_debug.c')
0 files changed, 0 insertions, 0 deletions