Re: Segfault on RTCW with Savage

2004-10-07 Thread Felix Kühling
On Wed, 06 Oct 2004 15:28:21 -0700 Eric Anholt [EMAIL PROTECTED] wrote: On Wed, 2004-10-06 at 13:09, Felix Kühling wrote: On Wed, 6 Oct 2004 22:03:40 +0200 Felix Kühling [EMAIL PROTECTED] wrote: [snip] You're right. Thanks for catching this. I tried to understand what

Re: Segfault on RTCW with Savage

2004-10-07 Thread Keith Whitwell
Felix Kühling wrote: On Wed, 06 Oct 2004 15:28:21 -0700 Eric Anholt [EMAIL PROTECTED] wrote: On Wed, 2004-10-06 at 13:09, Felix Kühling wrote: On Wed, 6 Oct 2004 22:03:40 +0200 Felix Kühling [EMAIL PROTECTED] wrote: [snip] You're right. Thanks for catching this. I tried to understand what

Re: Segfault on RTCW with Savage

2004-10-06 Thread Felix Kühling
On Mon, 04 Oct 2004 12:09:09 +0100 Keith Whitwell [EMAIL PROTECTED] wrote: John, I'd say the problem is with these lines in savagetris.c: if (index (_TNL_BIT_COLOR1|_TNL_BIT_FOG)) { EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_BGR, SAVAGE_HW_NO_CS ); EMIT_ATTR(

Re: Segfault on RTCW with Savage

2004-10-06 Thread Eric Anholt
On Wed, 2004-10-06 at 04:54, Felix Kühling wrote: On Mon, 04 Oct 2004 12:09:09 +0100 Keith Whitwell [EMAIL PROTECTED] wrote: John, I'd say the problem is with these lines in savagetris.c: if (index (_TNL_BIT_COLOR1|_TNL_BIT_FOG)) { EMIT_ATTR( _TNL_ATTRIB_COLOR1,

Re: Segfault on RTCW with Savage

2004-10-06 Thread Felix Kühling
On Wed, 06 Oct 2004 10:16:23 -0700 Eric Anholt [EMAIL PROTECTED] wrote: On Wed, 2004-10-06 at 04:54, Felix Kühling wrote: On Mon, 04 Oct 2004 12:09:09 +0100 Keith Whitwell [EMAIL PROTECTED] wrote: John, I'd say the problem is with these lines in savagetris.c: if

Re: Segfault on RTCW with Savage

2004-10-06 Thread Felix Kühling
On Wed, 6 Oct 2004 22:03:40 +0200 Felix Kühling [EMAIL PROTECTED] wrote: [snip] You're right. Thanks for catching this. I tried to understand what force_emit in the i830 driver was for, now I understand. An updated patch is attached. I'm going to commit that. Still wrong. Sorry. :-/ I can't

Re: Segfault on RTCW with Savage

2004-10-06 Thread John Lightsey
On Wednesday 06 October 2004 06:54, Felix Kühling wrote: On Mon, 04 Oct 2004 12:09:09 +0100 Keith Whitwell [EMAIL PROTECTED] wrote: John, I'd say the problem is with these lines in savagetris.c: if (index (_TNL_BIT_COLOR1|_TNL_BIT_FOG)) { EMIT_ATTR( _TNL_ATTRIB_COLOR1,

Re: Segfault on RTCW with Savage

2004-10-06 Thread Eric Anholt
On Wed, 2004-10-06 at 13:09, Felix Kühling wrote: On Wed, 6 Oct 2004 22:03:40 +0200 Felix Kühling [EMAIL PROTECTED] wrote: [snip] You're right. Thanks for catching this. I tried to understand what force_emit in the i830 driver was for, now I understand. An updated patch is attached.

Re: Segfault on RTCW with Savage

2004-10-04 Thread Keith Whitwell
will segfault RTCW while loading the Checkpoint demo. ( http://www.nixnuts.net/benchmarks/current/ ) The problem is in Mesa/src/mesa/tnl/t_tertex.c around lines 741 and 913. for (j = 0; j count; j++) { GLvector4f *vptr = VB-AttribPtr[a[j].attrib]; a[j].inputstride = vptr-stride

Re: Segfault on RTCW with Savage

2004-10-04 Thread Felix Kühling
On Mon, 04 Oct 2004 12:09:09 +0100 Keith Whitwell [EMAIL PROTECTED] wrote: John, I'd say the problem is with these lines in savagetris.c: if (index (_TNL_BIT_COLOR1|_TNL_BIT_FOG)) { EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_BGR, SAVAGE_HW_NO_CS ); EMIT_ATTR(

Re: Segfault on RTCW with Savage

2004-10-01 Thread Keith Whitwell
John Lightsey wrote: A while back I mentioned on dri-devel that Savage cards will segfault RTCW while loading the Checkpoint demo. ( http://www.nixnuts.net/benchmarks/current/ ) The problem is in Mesa/src/mesa/tnl/t_tertex.c around lines 741 and 913. for (j = 0; j count; j

Re: Segfault on RTCW with Savage

2004-10-01 Thread John Lightsey
On Friday 01 October 2004 04:03, Keith Whitwell wrote: John Lightsey wrote: A while back I mentioned on dri-devel that Savage cards will segfault RTCW while loading the Checkpoint demo. ( http://www.nixnuts.net/benchmarks/current/ ) The problem is in Mesa/src/mesa/tnl/t_tertex.c around

Segfault on RTCW with Savage

2004-09-30 Thread John Lightsey
A while back I mentioned on dri-devel that Savage cards will segfault RTCW while loading the Checkpoint demo. ( http://www.nixnuts.net/benchmarks/current/ ) The problem is in Mesa/src/mesa/tnl/t_tertex.c around lines 741 and 913. for (j = 0; j count; j++) { GLvector4f *vptr = VB