Change return type of try_emit_* methods to bool.
authorKai Wasserbäch <kai@dev.carbon-project.org>
Tue, 23 Aug 2011 08:48:57 +0000 (10:48 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 25 Aug 2011 14:21:00 +0000 (07:21 -0700)
commit79a486ead92e4493b2de1fedf0c8cb5de47003cd
treeb3f87512af440c4c69d19ecdc3a9386afe34a677
parent55592d9da1bb694c7275984cf9a3ecaafcccf46a
Change return type of try_emit_* methods to bool.

Ian Romanick explained (Message-Id: <4E528973.6080902@freedesktop.org>),
that the return type of non-API methods shouldn't use GLboolean but a
standard C++ bool.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Bryan Cain <bryancain3@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp