[Mesa-dev] [PATCH 0/7] release build warning fixes

Grazvydas Ignotas notasas at gmail.com
Sat Apr 16 01:00:09 UTC 2016


I guess almost everyone here builds mesa with asserts enabled, but many
forget asserts are off by default, so ordinary users get thrown at quite
a lot of warnings. This tries to improve the situation somewhat.

Grazvydas Ignotas (7):
  util: add MAYBE_UNUSED for config dependent variables
  glsl: fix warning in release build
  gallium: fix warnings in release build
  spirv: fix warning in release build
  isl: fix warnings in release build
  anv: fix warnings in release build
  gallium: use unreachable instead of asserts

 src/compiler/glsl/lower_buffer_access.cpp           | 2 +-
 src/compiler/spirv/vtn_cfg.c                        | 2 +-
 src/gallium/auxiliary/gallivm/lp_bld_intr.c         | 2 +-
 src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | 2 +-
 src/gallium/auxiliary/util/u_surface.c              | 3 ++-
 src/gallium/drivers/llvmpipe/lp_setup_vbuf.c        | 2 +-
 src/gallium/drivers/r600/compute_memory_pool.c      | 2 +-
 src/gallium/drivers/radeon/radeon_llvm_emit.c       | 2 +-
 src/gallium/drivers/softpipe/sp_state_sampler.c     | 2 +-
 src/gallium/drivers/softpipe/sp_tile_cache.c        | 3 ++-
 src/gallium/drivers/trace/tr_context.c              | 2 +-
 src/intel/isl/isl.c                                 | 2 +-
 src/intel/isl/isl_gen7.c                            | 2 +-
 src/intel/vulkan/anv_dump.c                         | 2 +-
 src/intel/vulkan/anv_image.c                        | 2 +-
 src/intel/vulkan/anv_nir_lower_push_constants.c     | 2 +-
 src/intel/vulkan/gen7_cmd_buffer.c                  | 2 +-
 src/intel/vulkan/gen8_cmd_buffer.c                  | 2 +-
 src/util/macros.h                                   | 2 ++
 19 files changed, 22 insertions(+), 18 deletions(-)

-- 
2.7.4



More information about the mesa-dev mailing list