OSDN Git Service

cell: Specify constant as float for CEILF().
authorJonathan Adamczewski <jadamcze@utas.edu.au>
Wed, 14 Jan 2009 01:37:46 +0000 (12:37 +1100)
committerJonathan Adamczewski <jadamcze@utas.edu.au>
Wed, 14 Jan 2009 01:49:28 +0000 (12:49 +1100)
commitf6d09531ff1588ea18048a842ab24338ae4bc5a7
treec42319c6d9575789bd0172cd3bd6ab91f4011276
parent67c7f94a212864bf1d46e521e98638c3e5a83d4c
cell: Specify constant as float for CEILF().

Without the f, the constant is treated as a double, resulting in
slower arithmetic and libgcc conversion calls each time CEILF()
is used.
src/gallium/drivers/cell/spu/spu_tri.c