diff options
author | Olivier Galibert <[email protected]> | 2012-06-25 18:50:13 +0200 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-06-26 16:55:40 +0100 |
commit | 27e94ba4eabec90b2c4d7361a9448b35e2819a8b (patch) | |
tree | 618b3468a8c20fa4feac92af272bb920d0059f56 /src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | |
parent | 6c355cca9149e43850cf27f2d0821fab1e7a69f5 (diff) |
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 <[email protected]>
Signed-off-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |