[Mesa-dev] [PATCH] u2f_emit: Fix type parameter in LLVM call.
Jose Fonseca
jfonseca at vmware.com
Mon Jun 25 10:25:16 PDT 2012
Looks good. Thanks.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
Jose
----- Original Message -----
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
More information about the mesa-dev
mailing list