diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-31 15:46:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-31 15:46:30 +0100 |
commit | 0ab9c4689e557081c6c462d853de5fb06b76d578 (patch) | |
tree | ea2d222c71457b5d52affb87d62cb4ffecfa0d34 /media-libs/mesa/files | |
parent | 49998fa33a98c23eac41d7a4946736528163b356 (diff) |
media-libs/mesa : drop our ebuild
Diffstat (limited to 'media-libs/mesa/files')
-rw-r--r-- | media-libs/mesa/files/enableFastMath.patch | 43 | ||||
-rw-r--r-- | media-libs/mesa/files/eselect-mesa.conf.9.2 | 38 | ||||
-rw-r--r-- | media-libs/mesa/files/fixLlvm6apichange.patch | 33 |
3 files changed, 0 insertions, 114 deletions
diff --git a/media-libs/mesa/files/enableFastMath.patch b/media-libs/mesa/files/enableFastMath.patch deleted file mode 100644 index ab8a25a1..00000000 --- a/media-libs/mesa/files/enableFastMath.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 5d61fa4e68b7eb6d481a37efdbb35fdce675a6ad Mon Sep 17 00:00:00 2001 -From: Tobias Droste <tdroste@gmx.de> -Date: Wed, 8 Nov 2017 10:44:19 +0100 -Subject: gallivm: Use new LLVM fast-math-flags API -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -LLVM 6 changed the API on the fast-math-flags: -https://reviews.llvm.org/rL317488 - -NOTE: This also enables the new flag 'ApproxFunc' to allow for -approximations for library functions (sin, cos, ...). I'm not completly -convinced, that this is something mesa should do. - -Signed-off-by: Tobias Droste <tdroste@gmx.de> -Reviewed-by: Marek Olšák <marek.olsak@amd.com> -Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com> ---- - src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -(limited to 'src/gallium/auxiliary/gallivm/lp_bld_misc.cpp') - -diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp -index d988910..1319407 100644 ---- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp -+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp -@@ -830,7 +830,11 @@ lp_create_builder(LLVMContextRef ctx, enum lp_float_mode float_mode) - llvm::unwrap(builder)->setFastMathFlags(flags); - break; - case LP_FLOAT_MODE_UNSAFE_FP_MATH: -+#if HAVE_LLVM >= 0x0600 -+ flags.setFast(); -+#else - flags.setUnsafeAlgebra(); -+#endif - llvm::unwrap(builder)->setFastMathFlags(flags); - break; - } --- -cgit v1.1 - diff --git a/media-libs/mesa/files/eselect-mesa.conf.9.2 b/media-libs/mesa/files/eselect-mesa.conf.9.2 deleted file mode 100644 index 18bfaff8..00000000 --- a/media-libs/mesa/files/eselect-mesa.conf.9.2 +++ /dev/null @@ -1,38 +0,0 @@ -# mesa classic/gallium implementations in this release - -# Syntax description: -# * MESA_IMPLEMENTATIONS contains a space-delimited list of switchable -# classic/gallium implementations. -# * MESA_DRIVERS is an associative array, for each member "foo" of -# MESA_IMPLEMENTATIONS it contains the following elements: -# foo,description - Human-readable description of the driver -# foo,classicdriver - Filename of the classic driver -# foo,galliumdriver - Filename of the gallium driver -# foo,default - which of classic or gallium is chosen by default - -MESA_IMPLEMENTATIONS="i915 i965 r300 r600 sw" -declare -A MESA_DRIVERS || die "MESA_DRIVERS already in environment and not associative." - -MESA_DRIVERS[i915,description]="i915 (Intel 915, 945)" -MESA_DRIVERS[i915,classicdriver]="i915_dri.so" -MESA_DRIVERS[i915,galliumdriver]="i915g_dri.so" -MESA_DRIVERS[i915,default]="gallium" - -MESA_DRIVERS[i965,description]="i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)" -MESA_DRIVERS[i965,classicdriver]="i965_dri.so" -MESA_DRIVERS[i965,default]="classic" - -MESA_DRIVERS[r300,description]="r300 (Radeon R300-R500)" -MESA_DRIVERS[r300,classicdriver]="r300_dri.so" -MESA_DRIVERS[r300,galliumdriver]="r300g_dri.so" -MESA_DRIVERS[r300,default]="gallium" - -MESA_DRIVERS[r600,description]="r600 (Radeon R600-R700, Evergreen, Northern Islands)" -MESA_DRIVERS[r600,classicdriver]="r600_dri.so" -MESA_DRIVERS[r600,galliumdriver]="r600g_dri.so" -MESA_DRIVERS[r600,default]="gallium" - -MESA_DRIVERS[sw,description]="sw (Software renderer)" -MESA_DRIVERS[sw,classicdriver]="swrast_dri.so" -MESA_DRIVERS[sw,galliumdriver]="swrastg_dri.so" -MESA_DRIVERS[sw,default]="gallium" diff --git a/media-libs/mesa/files/fixLlvm6apichange.patch b/media-libs/mesa/files/fixLlvm6apichange.patch deleted file mode 100644 index fea356f3..00000000 --- a/media-libs/mesa/files/fixLlvm6apichange.patch +++ /dev/null @@ -1,33 +0,0 @@ -From ad218754c79e0af61d5ba225a4b195cb55c2cac9 Mon Sep 17 00:00:00 2001 -From: Tim Rowley <timothy.o.rowley@intel.com> -Date: Tue, 2 Jan 2018 10:48:21 -0600 -Subject: swr/rast: fix MemoryBuffer build break for llvm-6 - -LLVM api change. - -Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104381 -Tested-by: Laurent Carlier <lordheavym@gmail.com> -Reviewed-By: Bruce Cherniak <bruce.cherniak@intel.com> ---- - src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp -index 3f0772c..59672bb 100644 ---- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp -+++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp -@@ -498,7 +498,11 @@ std::unique_ptr<llvm::MemoryBuffer> JitCache::getObject(const llvm::Module* M) - break; - } - -+#if LLVM_VERSION_MAJOR < 6 - pBuf = llvm::MemoryBuffer::getNewUninitMemBuffer(size_t(header.GetBufferSize())); -+#else -+ pBuf = llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t(header.GetBufferSize())); -+#endif - if (!fread(const_cast<char*>(pBuf->getBufferStart()), header.GetBufferSize(), 1, fpIn)) - { - pBuf = nullptr; --- -cgit v1.1 - |