aboutsummaryrefslogtreecommitdiff
path: root/mesalib
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-05-10 11:23:10 +0200
committermarha <marha@users.sourceforge.net>2012-05-10 11:23:10 +0200
commit13a63d4f69c0692539448cb3d8e4a0e1ffdf2183 (patch)
tree17a9a3e6a44353fd016b1d0725141bdfc47c4021 /mesalib
parent8a448108ec0bc3a0a488b2234e0d12aee503c67c (diff)
downloadvcxsrv-13a63d4f69c0692539448cb3d8e4a0e1ffdf2183.tar.gz
vcxsrv-13a63d4f69c0692539448cb3d8e4a0e1ffdf2183.tar.bz2
vcxsrv-13a63d4f69c0692539448cb3d8e4a0e1ffdf2183.zip
xserver fontconfig mesa git update 10 May 2012
Diffstat (limited to 'mesalib')
-rw-r--r--mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 9e68deb34..eecabb3e6 100644
--- a/mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -1775,9 +1775,7 @@ glsl_to_tgsi_visitor::visit(ir_expression *ir)
emit(ir, TGSI_OPCODE_TRUNC, result_dst, op[0]);
break;
case ir_unop_ceil:
- op[0].negate = ~op[0].negate;
- emit(ir, TGSI_OPCODE_FLR, result_dst, op[0]);
- result_src.negate = ~result_src.negate;
+ emit(ir, TGSI_OPCODE_CEIL, result_dst, op[0]);
break;
case ir_unop_floor:
emit(ir, TGSI_OPCODE_FLR, result_dst, op[0]);