mesa merge requestshttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests2024-03-18T19:07:35Zhttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28092treewide: Replace the usage of DEBUG macro with MESA_DEBUG=0|1 macro2024-03-18T19:07:35ZYonggang Luotreewide: Replace the usage of DEBUG macro with MESA_DEBUG=0|1 macrothis is a rework of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21946,
by using vscode find&replace along with the following folders are excluded:
```
docs,*.rs,addrlib,src/imgui,*.sh,src/intel/vulkan/grl/gpu
```
The follo...this is a rework of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21946,
by using vscode find&replace along with the following folders are excluded:
```
docs,*.rs,addrlib,src/imgui,*.sh,src/intel/vulkan/grl/gpu
```
The following changes are done by find&replace and verified manually
* treewide: Replace #ifndef DEBUG with #if !MESA_DEBUG
* treewide: Replace defined(DEBUG) with MESA_DEBUG
* treewide: Replace #ifdef DEBUG with #if MESA_DEBUG
* nine: Switch "#if defined(DEBUG) || !defined(NDEBUG)" to "#if MESA_DEBUG_ANY"
Other changes are manually modifed
No sure if this MR Closes https://gitlab.freedesktop.org/mesa/mesa/-/issues/4965https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27607Draft: gallium/meson: Deconflate swrast/softpipe/llvmpipe2024-02-13T22:03:54ZAdam Jacksonajax@nwnk.netDraft: gallium/meson: Deconflate swrast/softpipe/llvmpipesoftpipe is fine I guess. But it's required even if you just want to build llvmpipe. I would prefer to build at least my enterprise OS without softpipe because I don't want to support it, given that I'm already compelled to support llvmp...softpipe is fine I guess. But it's required even if you just want to build llvmpipe. I would prefer to build at least my enterprise OS without softpipe because I don't want to support it, given that I'm already compelled to support llvmpipe, and that's challenge enough, and llvmpipe really ought to be preferable in almost every circumstance. I think it's especially goofy to include a copy of softpipe inside lavapipe, though at least there I am pretty sure lavapipe will fail to initialize.
Detangling this is pretty awful and this patch definitely needs some work, but the strategy is to add `llvmpipe` and `softpipe` as names to `gallium-drivers`, and treat `swrast` as a shorthand for both. We build `src/gallium/drivers/llvmpipe` if it is named as a gallium driver _or_ if lavapipe was explicitly requested. The lavapipe target always links only llvmpipe, and the other targets link either or both as requested. Other than the lavapipe thing, which I sincerely hope is NFC, this stops short of any CI/policy/default changes and simply makes `-Dgallium-drivers=llvmpipe` do what you wanted.
Building out softpipe saves about 133k of text on aarch64, which is about 1/60th of the size of the lavapipe binary, which ain't too shabby.https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22405egl/drivers/haiku: Wire up basic WaitClient notice2023-04-10T21:32:12ZAlexander von Gluck IVegl/drivers/haiku: Wire up basic WaitClient noticehttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12597Haiku build fixes2022-01-07T23:37:01ZAlexander von Gluck IVHaiku build fixeshttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2494fix empty-body issues2023-01-23T23:30:35ZEric Engestromeric@engestrom.chfix empty-body issuesI think I got all of them now :upside_down_face:I think I got all of them now :upside_down_face:Eric Engestromeric@engestrom.chEric Engestromeric@engestrom.ch