1
0
forked from rpms/mesa

Add back accidentally lost patch to disable rgb10 configs by default (#1650929)

This was dropped in commit b708cfc.
This commit is contained in:
Pete Walter 2019-02-08 12:08:28 +00:00
parent f346245e43
commit a04754fe8e
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,27 @@
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

@ -50,7 +50,7 @@ Name: mesa
Summary: Mesa graphics libraries
%global ver 19.0.0-rc2
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT
URL: http://www.mesa3d.org
@ -66,6 +66,10 @@ Source4: Mesa-MLAA-License-Clarification-Email.txt
Patch3: 0003-evergreen-big-endian.patch
# Disable rgb10 configs by default:
# https://bugzilla.redhat.com/show_bug.cgi?id=1560481
Patch7: 0001-gallium-Disable-rgb10-configs-by-default.patch
# https://lists.freedesktop.org/archives/mesa-dev/2018-November/210797.html
# https://bugzilla.redhat.com/show_bug.cgi?id=1650929
Patch10: 0001-wayland-egl-Ensure-EGL-surface-is-resized-on-DRI-upd.patch
@ -633,6 +637,9 @@ popd
%endif
%changelog
* Fri Feb 08 2019 Pete Walter <pwalter@fedoraproject.org> - 19.0.0~rc2-2
- Add back accidentally lost patch to disable rgb10 configs by default (#1650929)
* Tue Feb 5 2019 Peter Robinson <pbrobinson@fedoraproject.org> 19.0.0~rc2-1
- Update to 19.0.0~rc2