From: José Fonseca Date: Fri, 11 May 2012 15:43:28 +0000 (+0100) Subject: gallivm: Fix copy'n'paste typo bug translating CEIL opcode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23c0d469e55b3cb79ad4b2fd0d961562a26234fd;p=mesa.git gallivm: Fix copy'n'paste typo bug translating CEIL opcode. Trivial. --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c index d278444ce90..e0a51809219 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c @@ -892,8 +892,8 @@ ceil_emit_cpu( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) { - emit_data->output[emit_data->chan] = lp_build_trunc(&bld_base->base, - emit_data->args[0]); + emit_data->output[emit_data->chan] = lp_build_ceil(&bld_base->base, + emit_data->args[0]); } /* TGSI_OPCODE_CMP (CPU Only) */