[WINED3D] Improve pshader code structure (Try 2: move src handling)

Ivan Gyurdiev ivg2 at cornell.edu
Thu Apr 13 20:52:33 CDT 2006


Patch moves source modifiers and swizzle handling to a more common path, 
stops manipulating pToken other than at the beginning when 
destination/source are parsed. Also fixes a bug from a previous patch 
where a continue was removed with no following break.

While it may allow some invalid shaders to proceed further, I think it 
makes the code cleaner.
It also allows handling of swizzle on 1.4 texld, which I believe is valid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine.pshader.centralize4_input.diff
Type: text/x-patch
Size: 14110 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060413/bb93830a/wine.pshader.centralize4_input-0001.diff


More information about the wine-patches mailing list