mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 14:30:10 +01:00
We follow the same approach that v3d. We compile the files that depends on the version several times, passing a different version each time. We link all those per-version libs on the main library. Note that right now we only support version == 42, so the array of supported versions is one-sized. Also note that although we were doing a previous work to split hw-version dependant code from general code, this is the first commit that only inject the current V3D_VERSION on the former. We have two cases where we hardcode the V3D_VERSION (as a full wrapping would be an overkill) that we need to include here to avoid warnings/errors if we do that before or after. Having some exceptions also happens on v3d. As we are here we add some comment on v3d clarifying that. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11310> |
||
|---|---|---|
| .. | ||
| ci | ||
| cle | ||
| clif | ||
| common | ||
| compiler | ||
| drm-shim | ||
| qpu | ||
| simulator | ||
| vulkan | ||
| .editorconfig | ||
| Android.cle.mk | ||
| Android.genxml.mk | ||
| Android.mk | ||
| Makefile.sources | ||
| meson.build | ||