summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-11-22 23:45:17 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-11-22 23:45:17 +0000
commitcfd60257123df3f778df048de03f218bc3d55909 (patch)
tree2e4532e9f36ed6aeffcb277c71e96e5b24a9a674 /media-libs/mesa
parentDrop stale patches. (diff)
downloadgentoo-2-cfd60257123df3f778df048de03f218bc3d55909.tar.gz
gentoo-2-cfd60257123df3f778df048de03f218bc3d55909.tar.bz2
gentoo-2-cfd60257123df3f778df048de03f218bc3d55909.zip
Drop stale patches.
(Portage version: 2.2_rc51/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/mesa')
-rw-r--r--media-libs/mesa/ChangeLog6
-rw-r--r--media-libs/mesa/files/6.5.2-i965-wine-fix.patch109
2 files changed, 5 insertions, 110 deletions
diff --git a/media-libs/mesa/ChangeLog b/media-libs/mesa/ChangeLog
index a9be3bc88296..e7976143dc6d 100644
--- a/media-libs/mesa/ChangeLog
+++ b/media-libs/mesa/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/mesa
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.238 2009/10/26 20:24:06 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.239 2009/11/22 23:45:17 scarabeus Exp $
+
+ 22 Nov 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ -files/6.5.2-i965-wine-fix.patch:
+ Drop stale patches.
26 Oct 2009; Jeroen Roovers <jer@gentoo.org> mesa-7.5.1.ebuild:
Stable for HPPA (bug #282290).
diff --git a/media-libs/mesa/files/6.5.2-i965-wine-fix.patch b/media-libs/mesa/files/6.5.2-i965-wine-fix.patch
deleted file mode 100644
index 63acd15806b9..000000000000
--- a/media-libs/mesa/files/6.5.2-i965-wine-fix.patch
+++ /dev/null
@@ -1,109 +0,0 @@
---- a/src/mesa/drivers/dri/i965/brw_context.h
-+++ b/src/mesa/drivers/dri/i965/brw_context.h
-@@ -599,6 +599,7 @@ struct brw_context
-
- struct {
- struct brw_wm_prog_data *prog_data;
-+ struct brw_wm_compile *compile_data;
-
- /* Input sizes, calculated from active vertex program:
- */
-diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c
-index 3e2f2d0..0f842d2 100644
---- a/src/mesa/drivers/dri/i965/brw_wm.c
-+++ b/src/mesa/drivers/dri/i965/brw_wm.c
-@@ -138,64 +138,75 @@ static void do_wm_prog( struct brw_conte
- struct brw_fragment_program *fp,
- struct brw_wm_prog_key *key)
- {
-- struct brw_wm_compile c;
-+ struct brw_wm_compile *c;
- const GLuint *program;
- GLuint program_size;
-
-- memset(&c, 0, sizeof(c));
-- memcpy(&c.key, key, sizeof(*key));
-+ c = brw->wm.compile_data;
-+ if (c == NULL) {
-+ brw->wm.compile_data = calloc(1, sizeof(*brw->wm.compile_data));
-+ c = brw->wm.compile_data;
-+ } else {
-+ memset(c, 0, sizeof(*brw->wm.compile_data));
-+ }
-+ memcpy(&c->key, key, sizeof(*key));
-
-- c.fp = fp;
-- c.env_param = brw->intel.ctx.FragmentProgram.Parameters;
-+ c->fp = fp;
-+ c->env_param = brw->intel.ctx.FragmentProgram.Parameters;
-
-
- /* Augment fragment program. Add instructions for pre- and
- * post-fragment-program tasks such as interpolation and fogging.
- */
-- brw_wm_pass_fp(&c);
-+ brw_wm_pass_fp(c);
-
- /* Translate to intermediate representation. Build register usage
- * chains.
- */
-- brw_wm_pass0(&c);
-+ brw_wm_pass0(c);
-
- /* Dead code removal.
- */
-- brw_wm_pass1(&c);
-+ brw_wm_pass1(c);
-
- /* Hal optimization
- */
-- brw_wm_pass_hal (&c);
-+ brw_wm_pass_hal (c);
-
- /* Register allocation.
- */
-- c.grf_limit = BRW_WM_MAX_GRF/2;
-+ c->grf_limit = BRW_WM_MAX_GRF/2;
-
- /* This is where we start emitting gen4 code:
- */
-- brw_init_compile(&c.func);
-+ brw_init_compile(&c->func);
-
-- brw_wm_pass2(&c);
-+ brw_wm_pass2(c);
-
-- c.prog_data.total_grf = c.max_wm_grf;
-- c.prog_data.total_scratch = c.last_scratch ? c.last_scratch + 0x40 : 0;
-+ c->prog_data.total_grf = c->max_wm_grf;
-+ if (c->last_scratch) {
-+ c->prog_data.total_scratch =
-+ c->last_scratch + 0x40;
-+ } else {
-+ c->prog_data.total_scratch = 0;
-+ }
-
- /* Emit GEN4 code.
- */
-- brw_wm_emit(&c);
-+ brw_wm_emit(c);
-
- /* get the program
- */
-- program = brw_get_program(&c.func, &program_size);
-+ program = brw_get_program(&c->func, &program_size);
-
- /*
- */
- brw->wm.prog_gs_offset = brw_upload_cache( &brw->cache[BRW_WM_PROG],
-- &c.key,
-- sizeof(c.key),
-+ &c->key,
-+ sizeof(c->key),
- program,
- program_size,
-- &c.prog_data,
-+ &c->prog_data,
- &brw->wm.prog_data );
- }
-