From 27e94ba4eabec90b2c4d7361a9448b35e2819a8b Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Mon, 25 Jun 2012 18:50:13 +0200 Subject: u2f_emit: Fix type parameter in LLVM call. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The type is the destination type (i.e. float vector) and not the source type. Fixes piglit fs-{in,de}crement-uint. Signed-off-by: Olivier Galibert Signed-off-by: José Fonseca --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c index cbc59459d44..17f288f964e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c @@ -693,7 +693,7 @@ u2f_emit( { emit_data->output[emit_data->chan] = LLVMBuildUIToFP(bld_base->base.gallivm->builder, emit_data->args[0], - bld_base->uint_bld.vec_type, ""); + bld_base->base.vec_type, ""); } static void -- cgit v1.2.3