[Mesa-dev] [PATCH] mesa: Disable validate_ir_tree() on release builds.

Kenneth Graunke kenneth at whitecape.org
Sat Mar 23 11:24:34 PDT 2013


On 03/18/2013 08:48 AM, Eric Anholt wrote:
> Since half of ir_validate uses asserts() (the other using printf() then
> abort()), there's not much use to calling it in a release build.  Cuts
> 6.3% of the startup time of TF2.
>
> NOTE: This is a candidate for the stable branches.
> ---
>   src/glsl/ir_validate.cpp |    6 ++++++
>   src/glsl/linker.cpp      |    2 --
>   2 files changed, 6 insertions(+), 2 deletions(-)

Odd, I thought this landed already.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>



More information about the mesa-dev mailing list