Re: Post-processing hook for vertex setup code

2004-12-21 Thread Keith Whitwell
Felix Kühling wrote: Am Mo, den 20.12.2004 schrieb Keith Whitwell um 16:54: [snip] Hi Felix, Your patch looks good to me. If you're looking for ways to avoid the indirect function call, probably the way to do it is to somehow try and get onto the DO_FALLBACK path. This is difficult for PTEX ver

Re: Post-processing hook for vertex setup code

2004-12-21 Thread Felix Kühling
Am Mo, den 20.12.2004 schrieb Keith Whitwell um 16:54: [snip] > Hi Felix, > > Your patch looks good to me. If you're looking for ways to avoid the > indirect function call, probably the way to do it is to somehow try and > get onto the DO_FALLBACK path. This is difficult for PTEX vertices as

Re: Post-processing hook for vertex setup code

2004-12-20 Thread Ville Syrjälä
On Mon, Dec 20, 2004 at 04:39:03PM +0100, Felix Kühling wrote: > Hi Keith, > > I'm attaching my current solution for the Savage driver. I'm going to > commit this later today. It doesn't need any modifications of the common > TNL code. It is probably not the most efficient solution though, since >

Re: Post-processing hook for vertex setup code

2004-12-20 Thread Felix Kühling
Hi Keith, I'm attaching my current solution for the Savage driver. I'm going to commit this later today. It doesn't need any modifications of the common TNL code. It is probably not the most efficient solution though, since it requires an indirect function call for each emitted vertex. That said,

Re: Post-processing hook for vertex setup code

2004-12-20 Thread Keith Whitwell
Felix Kühling wrote: Hi Keith, I'm attaching my current solution for the Savage driver. I'm going to commit this later today. It doesn't need any modifications of the common TNL code. It is probably not the most efficient solution though, since it requires an indirect function call for each emitted

Re: Post-processing hook for vertex setup code

2004-12-17 Thread Keith Whitwell
Felix Kühling wrote: Am Fr, den 17.12.2004 schrieb Keith Whitwell um 22:59: Felix Kühling wrote: Hi, I'm trying to get projective textures working on hardware that doesn't support homogenous texture coordinates with the new vertex setup code (t_vertex.[ch]). The problem with this is that the W coor

Re: [Mesa3d-dev] Re: Post-processing hook for vertex setup code

2004-12-17 Thread Keith Whitwell
Felix Kühling wrote: Am Fr, den 17.12.2004 schrieb Keith Whitwell um 22:59: Felix Kühling wrote: Hi, I'm trying to get projective textures working on hardware that doesn't support homogenous texture coordinates with the new vertex setup code (t_vertex.[ch]). The problem with this is that the W coor

Re: Post-processing hook for vertex setup code

2004-12-17 Thread Felix Kühling
Am Fr, den 17.12.2004 schrieb Keith Whitwell um 22:59: > Felix Kühling wrote: > > Hi, > > > > I'm trying to get projective textures working on hardware that doesn't > > support homogenous texture coordinates with the new vertex setup code > > (t_vertex.[ch]). The problem with this is that the W co

Re: Post-processing hook for vertex setup code

2004-12-17 Thread Keith Whitwell
Felix Kühling wrote: Hi, I'm trying to get projective textures working on hardware that doesn't support homogenous texture coordinates with the new vertex setup code (t_vertex.[ch]). The problem with this is that the W coordinate of the hardware vertex must be computed from two vertex attributes, w