summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <ajax@fedoraproject.org>2009-02-09 22:53:48 +0000
committerAdam Jackson <ajax@fedoraproject.org>2009-02-09 22:53:48 +0000
commitb591a092d429f833093b808520c882bcffb20437 (patch)
treee32da1a8993a72523a1842a168912302a8d62865
parent764f36247d3fc12d1b1bf5254de9d38bf5e69a50 (diff)
downloadmesa-b591a092d429f833093b808520c882bcffb20437.tar.gz
mesa-b591a092d429f833093b808520c882bcffb20437.tar.xz
mesa-b591a092d429f833093b808520c882bcffb20437.zip
- mesa-7.3-965-texture-size.patch: Bump maximum 965 texture size. (#483674)mesa-7_3-2_fc11
-rw-r--r--mesa-7.3-965-texture-size.patch16
-rw-r--r--mesa.spec7
2 files changed, 22 insertions, 1 deletions
diff --git a/mesa-7.3-965-texture-size.patch b/mesa-7.3-965-texture-size.patch
new file mode 100644
index 0000000..59bfd83
--- /dev/null
+++ b/mesa-7.3-965-texture-size.patch
@@ -0,0 +1,16 @@
+diff -up Mesa-7.3/src/mesa/drivers/dri/i965/brw_context.c.jx Mesa-7.3/src/mesa/drivers/dri/i965/brw_context.c
+--- Mesa-7.3/src/mesa/drivers/dri/i965/brw_context.c.jx 2009-01-21 10:55:47.000000000 -0500
++++ Mesa-7.3/src/mesa/drivers/dri/i965/brw_context.c 2009-02-09 17:55:02.000000000 -0500
+@@ -138,10 +138,10 @@ GLboolean brwCreateContext( const __GLco
+ /* Advertise the full hardware capabilities. The new memory
+ * manager should cope much better with overload situations:
+ */
+- ctx->Const.MaxTextureLevels = 12;
++ ctx->Const.MaxTextureLevels = 13;
+ ctx->Const.Max3DTextureLevels = 9;
+ ctx->Const.MaxCubeTextureLevels = 12;
+- ctx->Const.MaxTextureRectSize = (1<<11);
++ ctx->Const.MaxTextureRectSize = (1<<12);
+
+ /* if conformance mode is set, swrast can handle any size AA point */
+ ctx->Const.MaxPointSizeAA = 255.0;
diff --git a/mesa.spec b/mesa.spec
index 2fa3c67..6193436 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -20,7 +20,7 @@
Summary: Mesa graphics libraries
Name: mesa
Version: 7.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
@@ -46,6 +46,7 @@ Patch7: mesa-7.1-link-shared.patch
Patch9: intel-revert-vbl.patch
Patch12: mesa-7.1-disable-intel-classic-warn.patch
+Patch13: mesa-7.3-965-texture-size.patch
BuildRequires: pkgconfig autoconf automake
%if %{with_dri}
@@ -179,6 +180,7 @@ This package provides some demo applications for testing Mesa.
%patch7 -p1 -b .dricore
%patch9 -p1 -b .intel-vbl
%patch12 -p1 -b .intel-nowarn
+%patch13 -p1 -b .965-texture
# Hack the demos to use installed data files
sed -i 's,../images,%{_libdir}/mesa-demos-data,' progs/demos/*.c
@@ -423,6 +425,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/mesa-demos-data
%changelog
+* Mon Feb 09 2009 Adam Jackson <ajax@redhat.com> 7.3-2
+- mesa-7.3-965-texture-size.patch: Bump maximum 965 texture size. (#483674)
+
* Sun Feb 08 2009 Adam Jackson <ajax@redhat.com> 7.3-1
- Mesa 7.3