This just created extra upkeep and the push to move extern C's into mesa code would mean a large number of extern's in core Mesa driver interfaces. The Haiku Gallium renderers are mostly insulated via the C-based Haiku state tracker.
As any future hardware support in Haiku will be gallium based, lets just drop swrast.
Haiku has a Mesa 7.12 fork for gcc2 that uses swrast.
This commit fixes the last of the Haiku build issues.
7af2601 mesa/driver/haiku: Drop Mesa swrast renderer
src/mesa/Makefile.am | 1 -
src/mesa/drivers/SConscript | 3 -
src/mesa/drivers/haiku/swrast/SConscript | 33 --
src/mesa/drivers/haiku/swrast/SoftwareRast.cpp | 697 -----------------------
src/mesa/drivers/haiku/swrast/SoftwareRast.h | 95 ---
src/mesa/drivers/haiku/swrast/SoftwareRast.rdef | 39 --
6 files changed, 868 deletions(-)
Upstream: cgit.freedesktop.org