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

H. Verbeet hverbeet at gmail.com
Wed Jun 18 17:36:35 CDT 2008


This time hopefully without typos.

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/20080619/f3d24529/attachment.txt 


More information about the wine-patches mailing list