wined3d: Move DCL, DEF operations out of GenerateProgramArbHW and into separate functions

Jason Green jave27 at gmail.com
Mon May 1 15:48:33 CDT 2006


This No-op patch moves the D3DSIO_DCL and D3DSIO_DEF cases out of the
giant switch/case in GenerateProgramArbHW (for both Vertex and Pixel
shaders) and into their own separate functions.  This also removes a
duplicate TRACE() which is already reported prior to this function. 
The purpose is to make the GenerateProgram function smaller and more
readable.  I have tested this with 2 apps that use these calls in
either their pixel or vertex shaders, and the arguments in the traces
are the same.

This applies into Mike's git tree.



More information about the wine-patches mailing list