Mesa (master): swr: update gallium driver docs

Tim Rowley torowley at kemper.freedesktop.org
Fri Apr 14 20:23:35 UTC 2017


Module: Mesa
Branch: master
Commit: 4dcfa83114df1026c715c2eb8a6168084fd2e5ac
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4dcfa83114df1026c715c2eb8a6168084fd2e5ac

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Apr 13 13:10:18 2017 -0500

swr: update gallium driver docs

v2: add back scons section, mention additional built swr libraries

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>

---

 src/gallium/docs/source/drivers/openswr.rst       |  2 +-
 src/gallium/docs/source/drivers/openswr/usage.rst | 16 +++++++++++-----
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/gallium/docs/source/drivers/openswr.rst b/src/gallium/docs/source/drivers/openswr.rst
index 84aa51f5d8..e254d7bcea 100644
--- a/src/gallium/docs/source/drivers/openswr.rst
+++ b/src/gallium/docs/source/drivers/openswr.rst
@@ -7,7 +7,7 @@ geometry heavy workloads there is a considerable speedup over llvmpipe,
 which is to be expected as the geometry frontend of llvmpipe is single
 threaded.
 
-This rasterizer is x86 specific and requires AVX or AVX2.  The driver
+This rasterizer is x86 specific and requires AVX or above.  The driver
 fits into the gallium framework, and reuses gallivm for doing the TGSI
 to vectorized llvm-IR conversion of the shader kernels.
 
diff --git a/src/gallium/docs/source/drivers/openswr/usage.rst b/src/gallium/docs/source/drivers/openswr/usage.rst
index e55b4211a5..61c30c27c4 100644
--- a/src/gallium/docs/source/drivers/openswr/usage.rst
+++ b/src/gallium/docs/source/drivers/openswr/usage.rst
@@ -4,8 +4,9 @@ Usage
 Requirements
 ^^^^^^^^^^^^
 
-* An x86 processor with AVX or AVX2
-* LLVM version 3.6 or later
+* An x86 processor with AVX or above
+* LLVM version 3.9 or later
+* C++14 capable compiler
 
 Building
 ^^^^^^^^
@@ -18,13 +19,18 @@ configure time, for example: ::
 Using
 ^^^^^
 
-On Linux, building will create a drop-in alternative for libGL.so into::
+On Linux, building with autotools will create a drop-in alternative
+for libGL.so into::
 
   lib/gallium/libGL.so
+  lib/gallium/libswrAVX.so
+  lib/gallium/libswrAVX2.so
 
-or::
+Alternatively, building with SCons will produce::
 
-  build/foo/gallium/targets/libgl-xlib/libGL.so
+  build/linux-x86_64/gallium/targets/libgl-xlib/libGL.so
+  build/linux-x86_64/gallium/drivers/swr/libswrAVX.so
+  build/linux-x86_64/gallium/drivers/swr/libswrAVX2.so
 
 To use it set the LD_LIBRARY_PATH environment variable accordingly.
 




More information about the mesa-commit mailing list