mesa/src
Grazvydas Ignotas e4fc06a2f8 util: add MAYBE_UNUSED for config dependent variables
This is mostly for variables that are only used in asserts and cause
unused-but-set-variable warnings in release builds. Could just use
UNUSED directly, but MAYBE_UNUSED should be less confusing and is
similar to what the Linux kernel has.

And yes __attribute__((unused)) can be used on variables on both GCC 4.2
(oldest supported by mesa) and clang 3.0 (just some random old version,
not sure what's the minimum for mesa).

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Chad Versace <chad.versace@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2016-04-25 12:23:10 +02:00
..
compiler glsl: fix cross validation for explicit locations on structs and arrays 2016-04-22 20:59:57 +10:00
egl egl/x11: authenticate before doing chipset id ioctls 2016-04-21 14:40:44 +01:00
gallium nouveau: codegen: combineLd/St do not combine indirect loads 2016-04-25 11:45:07 +02:00
gbm gbm: add GBM_FORMAT_XBGR8888 format support 2016-04-21 14:45:56 +01:00
getopt
glx scons: Build dri_common_interop.c. 2016-04-20 12:41:24 +01:00
gtest
hgl
intel genxml: use PYTHON3 2016-04-23 16:45:05 -07:00
loader loader: add a libdrm case for loader_get_device_name_for_fd 2016-04-21 14:41:41 +01:00
mapi mesa: expose EXT_base_instance in ES3 contexts 2016-04-03 20:40:55 -04:00
mesa i965/tex_image: Flush certain subnormal ASTC channel values 2016-04-23 11:35:08 -07:00
util util: add MAYBE_UNUSED for config dependent variables 2016-04-25 12:23:10 +02:00
Makefile.am i965: Add a dependency on libisl 2016-04-21 20:44:27 -07:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00