Re: [2/2] WINED3D: Fix D3DCOLOR swizzling in shaders.
2008/11/6 Mark Kilgard [EMAIL PROTECTED]: WineD3D, Please be aware of this new OpenGL extension: http://www.opengl.org/registry/specs/EXT/vertex_array_bgra.txt http://www.opengl.org/registry/specs/EXT/vertex_array_bgra.txt This extension allows OpenGL implementations supporting the extension to implement the D3DCOLOR swizzle without any special coding. This extension is fully supported in hardware by NVIDIA's upcoming 180.xx series drivers for both Linux and Windows. - Mark Kilgard, NVIDIA Yeah, we noticed that extension a few weeks ago. It looks pretty useful (as well as some of the other new extensions), and we'll certainly start using it once there's driver support. Henri
Re: [2/2] WINED3D: Fix D3DCOLOR swizzling in shaders.
On Sat, Aug 05, 2006 at 06:15:42PM +0200, H. Verbeet wrote: This patch fixes those issues by looking at the data types in the vertex declaration the shader will be used with. To be able to do that, we have to wait with compiling the shader until the shader is first used and we have a vertex declaration. I am not sure, if exactly *this* patch fixes the problem - but i assume so: the colors of the cars and lights in Live For Speed are not fixed also. thanks for that! -- cu pgpVYvAYhYTb8.pgp Description: PGP signature