[Mesa-dev] [PATCH 04/13] meson: build r600 driver

Marc Dietrich marvin24 at gmx.de
Thu Nov 2 10:32:44 UTC 2017


Hi Dylan,

Am Mittwoch, 1. November 2017, 23:49:39 CET schrieb Dylan Baker:
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> Tested-by: Aaron Watry <awatry at gmail.com>
> ---
>  meson.build                          |  20 ++++--
>  meson_options.txt                    |   2 +-
>  src/gallium/drivers/r600/meson.build | 128
> +++++++++++++++++++++++++++++++++++ src/gallium/meson.build              | 
>  4 +-
>  src/gallium/targets/dri/meson.build  |   7 +-
>  5 files changed, 153 insertions(+), 8 deletions(-)
>  create mode 100644 src/gallium/drivers/r600/meson.build

r600 driver (on RS780) seems to work here (X starts, some games play). During 
setup, I wondered why the vulkan drivers are enabled by default? This is 
different from the autotools setup. Maybe there was a discussion in the past 
about it and I just didn't got it.

Another thing which caught my eyes is the .so names are different. Autotools 
produces a 3 number versions for all libs while meson generates a 
  - no version for libglapi
  - single number for libEGL_mesa.so.0, libGLESv2.so.2,libGLX_mesa.so.0 
  - two versions for libGLESv1_CM.so.1.1
  - there numbers for libOSMesa.so.8.0.0, and libwayland-egl.so.1.0.0

I built with:

meson \                                 
    --prefix=/usr/local \                                                                             
    -Dgallium-drivers=r600,swrast \                                                                   
    -Dvulkan-drivers= \                                                                               
    -Dtexture-float=true \                                                                            
    -Dgles1=true -Dgles2=true \                                                                       
    -Dgallium-media=omx,va,vdpau,xvmc \                                                               
    -Dglvnd=true \                                                                                    
    -Ddri-drivers= \                                                                                  
    -Dosmesa=gallium \                                                                                
    build                                                                                             

Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171102/7085b069/attachment-0001.sig>


More information about the mesa-dev mailing list