From 23c0d469e55b3cb79ad4b2fd0d961562a26234fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 11 May 2012 16:43:28 +0100 Subject: [PATCH] gallivm: Fix copy'n'paste typo bug translating CEIL opcode. Trivial. --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) */ -- 2.30.2