[mesa] Fix evergreen on big-endian
Adam Jackson
ajax at fedoraproject.org
Mon Jun 17 14:25:44 UTC 2013
commit b1d1bf96599b908b424b7f84c5df1c88646b01ae
Author: Adam Jackson <ajax at redhat.com>
Date: Mon Jun 17 10:25:35 2013 -0400
Fix evergreen on big-endian
mesa-9.2-llvmpipe-on-big-endian.patch | 12 ++++++++++++
mesa.spec | 5 ++++-
2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/mesa-9.2-llvmpipe-on-big-endian.patch b/mesa-9.2-llvmpipe-on-big-endian.patch
index fee1326..a3dbc38 100644
--- a/mesa-9.2-llvmpipe-on-big-endian.patch
+++ b/mesa-9.2-llvmpipe-on-big-endian.patch
@@ -1638,3 +1638,15 @@ index 56f3a4a..ae9e28e 100644
{ 0, 0, 0 }
};
+diff -up mesa-20130610/src/gallium/drivers/r600/evergreen_state.c.jx mesa-20130610/src/gallium/drivers/r600/evergreen_state.c
+--- mesa-20130610/src/gallium/drivers/r600/evergreen_state.c.jx 2013-06-10 13:58:51.000000000 -0400
++++ mesa-20130610/src/gallium/drivers/r600/evergreen_state.c 2013-06-17 10:24:14.687160428 -0400
+@@ -615,7 +615,7 @@ static uint32_t r600_translate_colorform
+
+ static uint32_t r600_colorformat_endian_swap(uint32_t colorformat)
+ {
+- if (R600_BIG_ENDIAN) {
++ if (0 && R600_BIG_ENDIAN) {
+ switch(colorformat) {
+
+ /* 8-bit buffers. */
diff --git a/mesa.spec b/mesa.spec
index 4de65db..14c8589 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -54,7 +54,7 @@
Summary: Mesa graphics libraries
Name: mesa
Version: 9.2
-Release: 0.10.%{gitdate}%{?dist}
+Release: 0.11.%{gitdate}%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
@@ -604,6 +604,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
+* Mon Jun 17 2013 Adam Jackson <ajax at redhat.com> 9.2-0.11.20130610
+- Fix evergreen on big-endian
+
* Wed Jun 12 2013 Adam Jackson <ajax at redhat.com> 9.2-0.10.20130610
- Fix s390x build
- Fold khrplatform-devel in to libEGL-devel
More information about the scm-commits
mailing list