mesa: Remove the ralloc canary on release builds.
authorEric Anholt <eric@anholt.net>
Fri, 22 Nov 2013 07:29:56 +0000 (23:29 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 23 Nov 2013 00:36:27 +0000 (16:36 -0800)
commit09db4940eede4236b47e1328503a719719f5c981
tree8344b1add3a683fc0a52eaf49a85efdec9504bca
parent5891f981452c1c5ed45b5a7e5fe54a9884ced2b6
mesa: Remove the ralloc canary on release builds.

The canary is basically just to give a better debugging message when you
ralloc_free() something that wasn't rallocated.  Reduces maximum memory
usage of apitrace replay of the dota2 demo by 60MB on my 64-bit system (so
half that on a real 32-bit dota2 environment).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ralloc.c