swr: update gallium driver docs

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

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
Tim Rowley 2017-04-13 13:10:18 -05:00
parent bffdb434b7
commit 4dcfa83114
2 changed files with 12 additions and 6 deletions

View File

@ -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.

View File

@ -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.