aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-05-11 16:43:28 +0100
committerJosé Fonseca <[email protected]>2012-05-11 16:44:42 +0100
commit23c0d469e55b3cb79ad4b2fd0d961562a26234fd (patch)
treeafeafc85952699c4a9aca1ea13b97049bc601e8c /src/gallium
parentd3bab0c7bee7439fa834fd86a835119fc5fa3307 (diff)
gallivm: Fix copy'n'paste typo bug translating CEIL opcode.
Trivial.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c4
1 files 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) */