add swrast feature

This commit is contained in:
Nicholas Ricciuti 2023-06-15 13:28:39 -04:00
parent af3458766b
commit eead331dfc
No known key found for this signature in database
GPG key ID: 079A5AB9E5CAFE2D

View file

@ -23,7 +23,7 @@ fi
get_graphicdrivers() {
# set defaults
GALLIUM_DRIVERS=""
GALLIUM_DRIVERS="swrast"
XORG_DRIVERS=""
VULKAN_DRIVERS_CONFIG=""
VULKAN_DRIVERS_MESA=""
@ -154,6 +154,9 @@ get_graphicdrivers() {
VDPAU_SUPPORT="no"
fi
# add swrast to GALLIUM_DRIVERS regardless of GRAPHIC_DRIVERS value
GALLIUM_DRIVERS+=" swrast"
# remove duplicate entries
GALLIUM_DRIVERS="$(echo ${GALLIUM_DRIVERS} | xargs -n1 | sort -u | xargs)"
GRAPHIC_DRIVERS="$(echo ${GRAPHIC_DRIVERS} | xargs -n1 | sort -u | xargs)"