rpms/mesa/devel mesa-fix-965-buffer-check.patch, NONE, 1.1 mesa.spec, 1.184, 1.185

Dave Airlie (airlied) fedora-extras-commits at redhat.com
Fri Apr 18 05:41:56 UTC 2008


Author: airlied

Update of /cvs/pkgs/rpms/mesa/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12731

Modified Files:
	mesa.spec 
Added Files:
	mesa-fix-965-buffer-check.patch 
Log Message:
* Fri Apr 18 2008 Dave Airlie <airlied at redhat.com> 7.1-0.28
- okay fire me now - I swear it runs compiz really well...
- fix more bugs on 965


mesa-fix-965-buffer-check.patch:

--- NEW FILE mesa-fix-965-buffer-check.patch ---
>From 27e06a52342b94b4fb1d60a57c3bdaa2b30607cf Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied at panoply-rh.(none)>
Date: Fri, 18 Apr 2008 15:37:54 +1000
Subject: [PATCH] i965: fixup depth buffer check

---
 src/mesa/drivers/dri/i965/brw_misc_state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c b/src/mesa/drivers/dri/i965/brw_misc_state.c
index ec0bd6b..26ec797 100644
--- a/src/mesa/drivers/dri/i965/brw_misc_state.c
+++ b/src/mesa/drivers/dri/i965/brw_misc_state.c
@@ -183,7 +183,7 @@ static int prepare_depthbuffer(struct brw_context *brw)
 {
    struct intel_region *region = brw->state.depth_region;
 
-   if (region->buffer)
+   if (!region || !region->buffer)
       return 0;
    return dri_bufmgr_check_aperture_space(region->buffer);
 }
-- 
1.5.4.5



Index: mesa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mesa/devel/mesa.spec,v
retrieving revision 1.184
retrieving revision 1.185
diff -u -r1.184 -r1.185
--- mesa.spec	18 Apr 2008 05:20:40 -0000	1.184
+++ mesa.spec	18 Apr 2008 05:41:19 -0000	1.185
@@ -15,7 +15,7 @@
 Summary: Mesa graphics libraries
 Name: mesa
 Version: 7.1
-Release: 0.27%{?dist}
+Release: 0.28%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.mesa3d.org
@@ -38,6 +38,8 @@
 # lets only build drivers on sparc that are remotely useful
 Patch8: mesa-7.1-sparc.patch
 
+Patch9: mesa-fix-965-buffer-check.patch
+
 BuildRequires: pkgconfig autoconf automake
 %if %{with_dri}
 BuildRequires: libdrm-devel >= 2.4.0-0.5
@@ -165,6 +167,7 @@
 %patch4 -p1 -b .disable-tex-offset
 %patch7 -p1 -b .dricore
 %patch8 -p1
+%patch9 -p1 -b .965-depth
 
 # WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT
 # license and are not open source/free software, so we remove them.
@@ -413,6 +416,10 @@
 %{_libdir}/mesa-demos-data
 
 %changelog
+* Fri Apr 18 2008 Dave Airlie <airlied at redhat.com> 7.1-0.28
+- okay fire me now - I swear it runs compiz really well...
+- fix more bugs on 965
+
 * Fri Apr 18 2008 Dave Airlie <airlied at redhat.com> 7.1-0.27
 - why yes, that is a brown paper bag
 - fix glxgears on 965




More information about the scm-commits mailing list