v3d, vc4: Disable valgrind checking of CLE inputs when NDEBUG is set.
authorEric Anholt <eric@anholt.net>
Thu, 21 Jun 2018 22:45:30 +0000 (15:45 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 21 Jun 2018 22:46:40 +0000 (15:46 -0700)
commitee9a6a13fb3af78a2aa38492089ef934203d0790
tree7be9b7c15154b162a730ee542ea0f552871f6933
parenta2790b134a912b84389022b96ef0ef78a7d2b83c
v3d, vc4: Disable valgrind checking of CLE inputs when NDEBUG is set.

For a meson -Db_ndebug=true release build on x86_64, reduces text size of
libv3d.a from 53.0k to 51.6k.  Inspired by 0d5329d626e3 ("anv: Disable
__gen_validate_value if NDEBUG is set.")
src/broadcom/cle/v3d_packet_helpers.h