[2/2] wined3d: Use gl_Color and gl_SecondaryColor to support more varyings in SM3.0 shaders

H. Verbeet hverbeet at gmail.com
Tue Jun 17 10:11:38 CDT 2008


SM3.0 requires 10 4 component float varyings for passing stuff between
vertex and pixel shaders. GF7 and earlier report 8 generic varyings +
gl_Color and gl_SecondaryColor in GLSL. This patch allows us to use
gl_Color and gl_SecondaryColor to get 2 extra varyings, which some
games, like C&C3 with highest gfx settings, require.

Changelog:
  - Use gl_Color and gl_SecondaryColor to support more varyings in SM3.0 shaders
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 02-wined3d_glsl_varying.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080617/f5fa0876/attachment-0001.txt 


More information about the wine-patches mailing list