- mesa-7.3-965-texture-size.patch: Bump maximum 965 texture size. (#483674)
This commit is contained in:
parent
764f36247d
commit
b591a092d4
16
mesa-7.3-965-texture-size.patch
Normal file
16
mesa-7.3-965-texture-size.patch
Normal file
@ -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;
|
@ -20,7 +20,7 @@
|
|||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 7.3
|
Version: 7.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
@ -46,6 +46,7 @@ Patch7: mesa-7.1-link-shared.patch
|
|||||||
Patch9: intel-revert-vbl.patch
|
Patch9: intel-revert-vbl.patch
|
||||||
|
|
||||||
Patch12: mesa-7.1-disable-intel-classic-warn.patch
|
Patch12: mesa-7.1-disable-intel-classic-warn.patch
|
||||||
|
Patch13: mesa-7.3-965-texture-size.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig autoconf automake
|
BuildRequires: pkgconfig autoconf automake
|
||||||
%if %{with_dri}
|
%if %{with_dri}
|
||||||
@ -179,6 +180,7 @@ This package provides some demo applications for testing Mesa.
|
|||||||
%patch7 -p1 -b .dricore
|
%patch7 -p1 -b .dricore
|
||||||
%patch9 -p1 -b .intel-vbl
|
%patch9 -p1 -b .intel-vbl
|
||||||
%patch12 -p1 -b .intel-nowarn
|
%patch12 -p1 -b .intel-nowarn
|
||||||
|
%patch13 -p1 -b .965-texture
|
||||||
|
|
||||||
# Hack the demos to use installed data files
|
# Hack the demos to use installed data files
|
||||||
sed -i 's,../images,%{_libdir}/mesa-demos-data,' progs/demos/*.c
|
sed -i 's,../images,%{_libdir}/mesa-demos-data,' progs/demos/*.c
|
||||||
@ -423,6 +425,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/mesa-demos-data
|
%{_libdir}/mesa-demos-data
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Feb 08 2009 Adam Jackson <ajax@redhat.com> 7.3-1
|
||||||
- Mesa 7.3
|
- Mesa 7.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user