summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_logic.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-03-15 10:29:04 -0600
committerBrian Paul <brianp@vmware.com>2010-03-15 10:29:10 -0600
commitf9d753787e6c566d3481cca07dee939239eb7071 (patch)
tree1c06ece2af7ae79f2f5cf778d56612830759d57e /src/gallium/auxiliary/gallivm/lp_bld_logic.h
parent50d96f741e59678a19dd3308d532add1350ad441 (diff)
gallivm: fix incorrect floor(), itrunc()
LLVMBuildFPTrunc() should be used for double->float conversion, not float->int conversion. There should be a better way to compute floor(), ceil(), etc that doesn't involve float->int->float conversion.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_logic.h')
0 files changed, 0 insertions, 0 deletions