[Mesa-dev] [PATCH v2] swr: update gallium driver docs

Cherniak, Bruce bruce.cherniak at intel.com
Fri Apr 14 20:22:29 UTC 2017


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

> On Apr 14, 2017, at 2:03 PM, Tim Rowley <timothy.o.rowley at intel.com> wrote:
> 
> v2: add back scons section, mention additional built swr libraries
> ---
> 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 84aa51f..e254d7b 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 e55b421..61c30c2 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.7.4
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list