From b591a092d429f833093b808520c882bcffb20437 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Feb 09 2009 22:53:48 +0000 Subject: - mesa-7.3-965-texture-size.patch: Bump maximum 965 texture size. (#483674) --- 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 7.3-2 +- mesa-7.3-965-texture-size.patch: Bump maximum 965 texture size. (#483674) + * Sun Feb 08 2009 Adam Jackson 7.3-1 - Mesa 7.3