- commit-73dab75.diff
* i965: fallback lineloop on sandybridge for now OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=129
This commit is contained in:
parent
f3193af621
commit
db58eed4b3
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 30 09:49:13 UTC 2010 - sndirsch@novell.com
|
||||||
|
|
||||||
|
- commit-73dab75.diff
|
||||||
|
* i965: fallback lineloop on sandybridge for now
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 29 12:01:23 UTC 2010 - sndirsch@novell.com
|
Wed Sep 29 12:01:23 UTC 2010 - sndirsch@novell.com
|
||||||
|
|
||||||
|
@ -55,6 +55,7 @@ Patch1: dri_driver_dir.diff
|
|||||||
Patch8: egl-buildfix.diff
|
Patch8: egl-buildfix.diff
|
||||||
Patch9: Mesa_indirect_old_xserver_compatibility.diff
|
Patch9: Mesa_indirect_old_xserver_compatibility.diff
|
||||||
# already upstream
|
# already upstream
|
||||||
|
Patch10: commit-73dab75.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -146,6 +147,7 @@ sed -i 's/REPLACE/%_lib/g' src/glx/Makefile
|
|||||||
sed -i 's/REPLACE/%_lib/g' src/egl/drivers/dri2/Makefile
|
sed -i 's/REPLACE/%_lib/g' src/egl/drivers/dri2/Makefile
|
||||||
%patch8
|
%patch8
|
||||||
%patch9 -p0
|
%patch9 -p0
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
26
commit-73dab75.diff
Normal file
26
commit-73dab75.diff
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
commit 73dab75b4165f7d2214a68d4ba8e3cb7aab9b4ac
|
||||||
|
Author: Zhenyu Wang <zhenyuw@linux.intel.com>
|
||||||
|
Date: Sun Sep 26 13:15:39 2010 +0800
|
||||||
|
|
||||||
|
i965: fallback lineloop on sandybridge for now
|
||||||
|
|
||||||
|
Until we fixed GS hang issue.
|
||||||
|
|
||||||
|
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
|
||||||
|
index 16331cc..6a4dda2 100644
|
||||||
|
--- a/src/mesa/drivers/dri/i965/brw_draw.c
|
||||||
|
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
|
||||||
|
@@ -204,6 +204,13 @@ static GLboolean check_fallbacks( struct brw_context *brw,
|
||||||
|
GLcontext *ctx = &brw->intel.ctx;
|
||||||
|
GLuint i;
|
||||||
|
|
||||||
|
+ /* XXX FIXME */
|
||||||
|
+ if (brw->intel.gen >= 6) {
|
||||||
|
+ for (i = 0; i < nr_prims; i++)
|
||||||
|
+ if (prim[i].mode == GL_LINE_LOOP)
|
||||||
|
+ return GL_TRUE;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
/* If we don't require strict OpenGL conformance, never
|
||||||
|
* use fallbacks. If we're forcing fallbacks, always
|
||||||
|
* use fallfacks.
|
Loading…
x
Reference in New Issue
Block a user