u2f_emit: Fix type parameter in LLVM call.

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@pobox.com>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
Olivier Galibert 2012-06-25 18:50:13 +02:00 committed by José Fonseca
parent 6c355cca91
commit 27e94ba4ea
1 changed files with 1 additions and 1 deletions

View File

@ -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