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

2013-03-23 Thread Kenneth Graunke
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

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

2013-03-18 Thread Eric Anholt
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 |