mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
configure: error out when building xa only with swrast
Building to provide accelration using swrast does not make sense. Note: update your build script to explicitly mention svga in the gallium drivers list, if you are building the vmwgfx xa library. v2: Update error message to provide more clarify, add an example. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
2e830bba21
commit
e283e96666
1 changed files with 8 additions and 0 deletions
|
|
@ -1239,6 +1239,14 @@ dnl
|
|||
dnl XA configuration
|
||||
dnl
|
||||
if test "x$enable_xa" = xyes; then
|
||||
if test "x$with_gallium_drivers" = xswrast; then
|
||||
AC_MSG_ERROR([
|
||||
Building xa requires at least one non swrast gallium driver.
|
||||
If you are looking to use libxatracker.so with vmware's virtual gpu,
|
||||
make sure to include svga in the gallium drivers list, apart from
|
||||
enabling XA.
|
||||
Example: ./configure --enable-xa --with-gallium-drivers=svga...])
|
||||
fi
|
||||
GALLIUM_STATE_TRACKERS_DIRS="xa $GALLIUM_STATE_TRACKERS_DIRS"
|
||||
enable_gallium_loader=yes
|
||||
enable_gallium_drm_loader=yes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue