mesa/src
Kenneth Graunke 31c70b88a7 anv: Disable __gen_validate_value if NDEBUG is set.
We were enabling undefined memory checking for genxml values based on
Valgrind being installed at build time, even for release builds.  This
generates piles and piles of assembly whenever you touch genxml.

With gcc 7.3.1 and -O3 and -march=native on a Kabylake with Valgrind
installed at build time:

      text    data    bss     dec    hex filename
   5978385  262884  13488 6254757 5f70a5 libvulkan_intel.so
   3799377  262884  13488 4075749 3e30e5 libvulkan_intel.so

That's a 36% reduction in text size.

Fixes: 047ed02723 (vk/emit: Use valgrind to validate every packed field)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 0d5329d626)
2018-06-12 08:43:35 -07:00
..
amd radv: add a workaround for DXVK hangs by setting amdgpu-skip-threshold 2018-06-11 10:08:30 -07:00
broadcom util: Move util_is_power_of_two to bitscan.h and rename to util_is_power_of_two_or_zero 2018-03-29 14:09:23 -07:00
compiler glsl: Add ir_binop_vector_extract in NIR 2018-06-04 11:04:58 -07:00
egl egl/x11: Send invalidate to driver on copy_region path in swap_buffer 2018-05-03 10:55:51 -07:00
gallium radeonsi: fix possible truncation on renderer string 2018-06-11 10:08:30 -07:00
gbm gbm: remove never-implemented function 2018-03-28 16:25:52 +01:00
getopt
glx glx: Fix number of property values to read in glXImportContextEXT 2018-06-05 10:04:17 -07:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel anv: Disable __gen_validate_value if NDEBUG is set. 2018-06-12 08:43:35 -07:00
loader dri3: Stricter SBC wraparound handling 2018-05-30 16:56:47 -07:00
mapi glapi: define GL_API to be KEYWORD1 in glapi_dispatch.c (v2) 2018-03-30 14:33:33 -06:00
mesa i965/screen: Return false for unsupported formats in query_modifiers 2018-06-11 10:45:54 -07:00
util util/u_queue: fix a deadlock in util_queue_finish 2018-04-30 09:22:03 -07:00
vulkan vulkan/wsi: Destroy swapchain images after terminating FIFO queues 2018-06-11 10:08:30 -07:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am vulkan: Drop vk_android_native_buffer.xml 2018-04-10 19:29:49 -07:00
meson.build meson: only build mesa_st tests when build-tests is true 2018-04-27 10:11:58 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00