Vulkan drivers need access to format utils of gallium
Problem
Currently there seem to be the following problems:
- in
/src
, there are includes forgallium/include
andgallium/auxiliary
. These seem to have been introduced historically. As a result, broadcom compiler depends on gallium format utils. - The way meson is currently set up, we cannot easily link with
libgallium
.
Proposal
Extract the necessary baseline of format utils to src/util
and make available via a very thin library. Optimally, we would then only have to modify libgallium
to link in this new library.
Risks
While setting this up for meson might be easy, I am not sure how it fares with the other build systems and how good the CI coverage is for mesa. This might brake quite a few targets.