From 4dcfa83114df1026c715c2eb8a6168084fd2e5ac Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Thu, 13 Apr 2017 13:10:18 -0500 Subject: [PATCH] swr: update gallium driver docs v2: add back scons section, mention additional built swr libraries Reviewed-by: Bruce Cherniak --- src/gallium/docs/source/drivers/openswr.rst | 2 +- .../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 84aa51f5d80..e254d7bcea3 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 e55b4211a54..61c30c27c4f 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. -- 2.30.2