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.

Signed-off-by: Emil Velikov <[email protected]>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 6db3c1d..d98dca9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1234,6 +1234,9 @@ dnl
 dnl XA configuration
 dnl
 if test "x$enable_xa" = xyes; then
+    if test "x$gallium_drivers" = xswrast; then
+       AC_MSG_ERROR([Building xa requires at least one non swrast gallium 
driver])
+    fi
     GALLIUM_STATE_TRACKERS_DIRS="xa $GALLIUM_STATE_TRACKERS_DIRS"
     enable_gallium_loader=yes
     enable_gallium_drm_loader=yes
-- 
1.9.0

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to