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