WineD3D: shader cap fixes

Roderick Colenbrander thunderbird2k at
Tue Aug 8 05:41:30 CDT 2006

One last time an update to the patch. During some tests I noticed that the reported vertex shader version on my card was wrong. It appeared that next to extensions like 'GL_NV_vertex_program' and 'GL_NV_vertex_program2' there can be extensions like 'GL_NV_vertex_program2_option'. This didn't work correctly in the code so do 'max(previous_detected_version, newly_detected_version' to make sure that the version will never be lowered.

> Use this updated patch. I forgot to initialize some constants to zero and
> made the diff against a wrong file because of which some crucial changes
> were missed.
> Roderick
> > Hi,
> > 
> > This patch adds most missing shader capabilities. Some capabilitise are
> > read from OpenGL but not everything is mappable to Direct3D in some
> cases an
> > extension from lets say Nvidia can be used but it is not really worth
> it.
> > If there's no OpenGL cap the minimum required values as required by the
> > shader specs are used.
> > 
> > Regards,
> > Roderick Colenbrander


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d_shader_caps3.patch
Type: text/x-diff
Size: 13582 bytes
Desc: not available
Url :

More information about the wine-patches mailing list