* add a lot of new drivers for non-x86 arches

* now we use separate glvnd lib
* build with shared llvm
* bootstrap option
This commit is contained in:
Alexander Stefanov 2020-03-08 00:08:19 +00:00
parent b1dd763b67
commit f98e8724ed
6 changed files with 1032 additions and 615 deletions

View file

@ -1,4 +0,0 @@
sources:
mesa-19.3.4.tar.xz: 9acddc437c4839da3a8f34dc966754b2dbb7a539
mesa-19.3.4.tar.xz.sig: ea6daee9af269811d57e24d8d2c033c13b86a8d2

View file

@ -1,27 +0,0 @@
From b33c8b56abcc4837f96f7f106b108681858482e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
Date: Tue, 24 Apr 2018 09:46:41 +0200
Subject: [PATCH] gallium: Disable rgb10 configs by default
Applications tend to not handle rgb10 configs very well, so lets
disable it for now.
https://bugzilla.redhat.com/show_bug.cgi?id=1560481
---
src/gallium/auxiliary/pipe-loader/driinfo_gallium.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h b/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
index 21dc599dc2..23f9194149 100644
--- a/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
+++ b/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
@@ -33,5 +33,5 @@ DRI_CONF_SECTION_END
DRI_CONF_SECTION_MISCELLANEOUS
DRI_CONF_ALWAYS_HAVE_DEPTH_BUFFER("false")
DRI_CONF_GLSL_ZERO_INIT("false")
- DRI_CONF_ALLOW_RGB10_CONFIGS("true")
+ DRI_CONF_ALLOW_RGB10_CONFIGS("false")
DRI_CONF_SECTION_END
--
2.17.0

View file

@ -5,22 +5,23 @@
# to make a snapshot of the given tag/branch. Defaults to HEAD.
# Point env var REF to a local mesa repo to reduce clone time.
DIRNAME=mesa-$( date +%Y%m%d )
VERSION="11.2"
DIRNAME=mesa-${VERSION}-$( date +%Y%m%d )
if [ -z "$REF" -a -d "mesa/.git" ]; then
REF="mesa"
fi
REF="mesa"
fi
echo REF ${REF:+--reference $REF}
echo DIRNAME $DIRNAME
echo HEAD ${1:-HEAD}
echo REF ${REF:+--reference $REF}
echo DIRNAME $DIRNAME
echo HEAD ${1:-HEAD}
rm -rf $DIRNAME
rm -rf $DIRNAME
git clone ${REF:+--reference $REF} \
git://git.freedesktop.org/git/mesa/mesa $DIRNAME
git clone ${REF:+--reference $REF} \
git://git.freedesktop.org/git/mesa/mesa $DIRNAME
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
| bzip2 > $DIRNAME.tar.bz2
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
| xz -vf > $DIRNAME.tar.xz
# rm -rf $DIRNAME
# rm -rf $DIRNAME

View file

@ -1,13 +0,0 @@
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c
index fabc52c..c276016 100644
--- a/src/gallium/drivers/r600/r600_state_common.c
+++ b/src/gallium/drivers/r600/r600_state_common.c
@@ -2739,7 +2739,7 @@
uint32_t r600_colorformat_endian_swap(uint32_t colorformat, bool do_endian_swap)
{
- if (R600_BIG_ENDIAN) {
+ if (0 && R600_BIG_ENDIAN) {
switch(colorformat) {
/* 8-bit buffers. */
case V_0280A0_COLOR_4_4:

View file

@ -1,10 +1,5 @@
# libXvMCr600.so.1.0.0 and libXvMCnouveau.so.1.0.0 are actually the hard
# links to libXvMCgallium.so.1.0.0 and have its soname. This confuses the
# build system.
addFilter("E: invalid-ldconfig-symlink")
# dri-drivers is a collection of special shared objects rather than a
# single shared library.
# False positive (9.1 vs. 9.1.0)
addFilter("E: incoherent-version-in-name")
addFilter("W: no-documentation")
# libswrAVX*.so files for dlopen-ing
addFilter("E: devel-file-in-non-devel-package")

1567
mesa.spec

File diff suppressed because it is too large Load diff