Jason Green : wined3d: Move DCL, DEF operations out of Generate loop and into separate functions.