mesa/src/intel/decoder
Valentine Burley 190ce8280f
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
meson: Add Soong compatibility compiler flags to Vulkan drivers
Suggested by @gurchetansingh.

Android's Soong build system treats several compiler warnings as errors
by default: https://android.googlesource.com/platform/build/soong/+/27f57506/cc/config/global.go/#218

To catch these issues in Mesa, introduce `soong_compat_c_args`
and `soong_compat_cpp_args` with the following flags treated as errors:
 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS
 -Werror=date-time
 -Werror=gnu-alignof-expression
 -Werror=ignored-qualifiers
 -Werror=implicit-fallthrough
 -Werror=int-conversion
 -Werror=missing-prototypes
 -Werror=pragma-pack
 -Werror=pragma-pack-suspicious-include
 -Werror=sizeof-array-div
 -Werror=string-plus-int
 -Werror=unreachable-code-loop-increment

These compatibility flags are added to the meson configurations
for ANV, Gfxstream, Lavapipe, PanVK, Turnip, and Venus.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Acked-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Gurchetan Singh <gurchetan.singh.foss@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41644>
2026-05-22 07:09:49 +00:00
..
tests intel/genxml: Convert field format from start/end to dword/bits 2025-07-23 16:02:14 +00:00
intel_batch_decoder.c util,intel: move probably_float to common code 2026-02-23 18:23:41 +00:00
intel_batch_decoder_brw.c brw: Move into a new src/intel/compiler/brw subdirectory 2025-10-09 07:01:47 +00:00
intel_batch_decoder_elk.c intel/decoder: Add ELK support 2024-02-24 00:24:31 +00:00
intel_batch_decoder_stub.c intel/decoder: update warning message when buildtype=release 2026-03-09 20:01:01 +00:00
intel_decoder.c intel/genxml: Start Xe3P (GFX_VERx10 == 350) support (xe3p.xml, xe3p_rt.xml) 2026-03-03 17:03:15 +00:00
intel_decoder.h intel/decoder: add filter feature 2024-09-25 12:51:07 +00:00
intel_decoder_private.h intel/decoder: Add ELK support 2024-02-24 00:24:31 +00:00
meson.build meson: Add Soong compatibility compiler flags to Vulkan drivers 2026-05-22 07:09:49 +00:00