diff options
author | Tim Rowley <timothy.o.rowley@intel.com> | 2017-04-13 13:10:18 -0500 |
---|---|---|
committer | Tim Rowley <timothy.o.rowley@intel.com> | 2017-04-14 15:21:31 -0500 |
commit | 4dcfa83114df1026c715c2eb8a6168084fd2e5ac (patch) | |
tree | df2467175c9537898181408be27621f75da072bf /src/gallium | |
parent | bffdb434b7cc086c7bdaba27b7289dca4bae3e5e (diff) |
swr: update gallium driver docs
v2: add back scons section, mention additional built swr libraries
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/docs/source/drivers/openswr.rst | 2 | ||||
-rw-r--r-- | 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. |