On 31.10.2019 1.35, Witold Baryluk wrote: > Package: src:mesa > Severity: normal > > Dear Maintainer, > > SWR is a new high performance rasterizer that is usually significantly > faster than softpipe or llvmpipe and is merged in upstream Mesa for > some time. > > Adding these meson extra flags: > > "-Dgallium-drivers=....,swrast,swr" "-Dswr-arches=avx,avx2,knl,skx" > > should build and install these files in lib/{x86_64,i386}-linux-gnu/ > > libswrAVX2.so > libswrAVX2.so.0 > libswrAVX2.so.0.0.0 > libswrAVX.so > libswrAVX.so.0 > libswrAVX.so.0.0.0 > libswrKNL.so > libswrKNL.so.0 > libswrKNL.so.0.0.0 > libswrSKX.so > libswrSKX.so.0 > libswrSKX.so.0.0.0 > > dri/kms_swrast_dri.so (maybe) > dri/swrast_dri.so > > It is probably worth packaging into separate package (with all arches > tho, no need to split it into 4 packages, mesa gallium loaader will > automatically determine best suitable version and load it dynamically). > > Building on other archs might succeed (unlikely), but it is pointless as > SWR targets at the moment only x86 specific vector instructions so even if > it manages to be able to generate code at runtime (via LLVM) it will not be > able to run it anyway. Thus the request is only for i386 and amd64. > > Adding x32 and kfreebsd-{amd64,i386} at your discretion. > > Best regards, > Witold.
I'm thinking this should replace llvmpipe on x86 if enabled, there's no point in keeping both especially since llvmpipe would still be the default. -- t