[Mesa-dev] [PATCH] u2f_emit: Fix type parameter in LLVM call.
Olivier Galibert
galibert at pobox.com
Mon Jun 25 09:50:13 PDT 2012
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 <galibert at pobox.com>
---
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 cbc5945..17f288f 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
--
1.7.10.280.gaa39
More information about the mesa-dev
mailing list