Re: wined3d: More shader fixes / new instructions

2006-07-28 Thread Jason Green
Makes sense. Please use this patch instead. Everything is the same: - Replace gl_FragColor with gl_FragData[0] for GLSL pixel shader output. - Subtract 1 more constant from total GLSL allowed float constants to accommodate the PROJECTION matrix row that we reference. Some of the shaders in the

Re: wined3d: More shader fixes / new instructions

2006-07-28 Thread H. Verbeet
On 28/07/06, Jason Green <[EMAIL PROTECTED]> wrote: - GLSL: Translate oC0-oC3 output registers (multiple render targets) to gl_FragData[] register. We don't support draw buffers yet, but this allows shader programs that use those registers to compile (such as Settlers 2) If you do that, you sho