[Mesa3d-dev] [Bug 11404] Nexuiz GLSL shader compilation fails

2009-01-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=11404 --- Comment #15 from Roland Scheidegger srol...@tungstengraphics.com 2009-01-05 07:17:42 PST --- (In reply to comment #11) Radeons also have the 8-texture-unit limit, at least up to the X1950. (Haven't figured out yet whether the limit's

Re: [Mesa3d-dev] [PATCH] SIMDize sorting in setup_sort_vertices()

2009-01-05 Thread Brian Paul
Jonathan Adamczewski wrote: Put setup.v{min,mid,max,provoke} into a union with qword vertex_headers. Rewrite vertex sorting to more efficiently handle the packed data items. Reduces spu_tri.o by ~128 bytes. That's pretty clever! I've committed your latest patches. I wonder if you could

Re: [Mesa3d-dev] [PATCH] SIMDize sorting in setup_sort_vertices()

2009-01-05 Thread keithw
Just wanted to say I love this set of patches... I always hoped that someone would be able to find a CPU-friendly path through triangle setup, it looks like you're definitely on the right track... Keith On Sun, 2009-01-04 at 19:52 -0800, Jonathan Adamczewski wrote: Put

Re: [Mesa3d-dev] Status of non-SOA path in Gallium3D driver

2009-01-05 Thread Ian Romanick
On Tue, Dec 30, 2008 at 02:08:37PM -0500, Zack Rusin wrote: Dependingly on which way the instruction set of modern gpus is going to head, aos will either become completely irrelevant soon (more likely) or aos will get more important. Either way as it stands we should concentrate on soa for

[Mesa3d-dev] C++ in Mesa?

2009-01-05 Thread Ian Romanick
Once upon a time, there was talk of converting some parts of Mesa to C++. This was killed for a number of reasons, and these fell into basically two categories: 1. C++ would make the drivers worse. 2. Linking with C++ libraries causes problems with applications. So far, a fair portion of my

Re: [Mesa3d-dev] C++ in Mesa?

2009-01-05 Thread Brian Paul
Ian Romanick wrote: Once upon a time, there was talk of converting some parts of Mesa to C++. This was killed for a number of reasons, and these fell into basically two categories: 1. C++ would make the drivers worse. 2. Linking with C++ libraries causes problems with applications. So

Re: [Mesa3d-dev] C++ in Mesa?

2009-01-05 Thread Ian Romanick
On Mon, Jan 05, 2009 at 04:21:11PM -0700, Brian Paul wrote: Ian Romanick wrote: Once upon a time, there was talk of converting some parts of Mesa to C++. This was killed for a number of reasons, and these fell into basically two categories: 1. C++ would make the drivers worse. 2.

Re: [Mesa3d-dev] C++ in Mesa?

2009-01-05 Thread Corbin Simpson
Ian Romanick wrote: Other than keithp (I know your opinion), does anyone have any strong opinions for or against using C++ in the GLSL compiler? I have a strong opinion against strong opinions against using C++. :3 Seriously, C++ is a very powerful language when it comes to offering certain

Re: [Mesa3d-dev] C++ in Mesa?

2009-01-05 Thread Brian Paul
Ian Romanick wrote: On Mon, Jan 05, 2009 at 04:21:11PM -0700, Brian Paul wrote: Ian Romanick wrote: Once upon a time, there was talk of converting some parts of Mesa to C++. This was killed for a number of reasons, and these fell into basically two categories: 1. C++ would make the drivers

Re: [Mesa3d-dev] C++ in Mesa?

2009-01-05 Thread Brian Paul
Corbin Simpson wrote: Ian Romanick wrote: Other than keithp (I know your opinion), does anyone have any strong opinions for or against using C++ in the GLSL compiler? I have a strong opinion against strong opinions against using C++. :3 Seriously, C++ is a very powerful language when it

Re: [Mesa3d-dev] C++ in Mesa?

2009-01-05 Thread Zack Rusin
On Monday 05 January 2009 17:23:40 Ian Romanick wrote: 2. Linking with C++ libraries causes problems with applications. So far, a fair portion of my GLSL compiler work has been re-creating a C++-like object heirarchy and management system. Frankly, the code would be much better (for all