glsl_to_tgsi: use TGSI_OPCODE_CEIL for ir_unop_ceil
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 5 May 2012 12:38:09 +0000 (14:38 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 9 May 2012 15:13:14 +0000 (17:13 +0200)
commitf7665ca4fc2a7bba8378d44d38059fc5dd536223
tree1190ec2b7a7eae30b74168d7bf3ddc23e42ed07c
parent6ae12bac596ce3a6aa8e09f638ad2cb4a7c18e5c
glsl_to_tgsi: use TGSI_OPCODE_CEIL for ir_unop_ceil

The implementation using FLR was buggy, the second negation could
get lost.
src/mesa/state_tracker/st_glsl_to_tgsi.cpp