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:
parent
6c355cca91
commit
27e94ba4ea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue