summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorMaxence Le Doré <[email protected]>2013-02-27 20:56:58 +0100
committerJosé Fonseca <[email protected]>2013-02-27 20:23:01 +0000
commit0845d16976b41e0a151f96b900fb58a7f26d7774 (patch)
tree9c47088f09971d37eb0e87067125ca8b2440f68e /src/gallium/auxiliary
parentf816a9f5226c51c2fb403a8006c398414cfa2518 (diff)
gallivm: fix mis-matching AOS instruction emission
Signed-off-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
index dbd9ccb3b62..9a30cc80296 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
@@ -536,7 +536,7 @@ lp_emit_instruction_aos(
case TGSI_OPCODE_MIN:
src0 = lp_build_emit_fetch(&bld->bld_base, inst, 0, LP_CHAN_ALL);
src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL);
- dst0 = lp_build_max(&bld->bld_base.base, src0, src1);
+ dst0 = lp_build_min(&bld->bld_base.base, src0, src1);
break;
case TGSI_OPCODE_MAX: