Ivan Gyurdiev : wined3d: Register map cleanups.
Module: wine Branch: refs/heads/master Commit: a42925ee090e6992b6ecef2dc5d5710cd0e8a9de URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a42925ee090e6992b6ecef2d... Author: Ivan Gyurdiev <ivg231(a)gmail.com> Date: Mon Jun 12 02:55:30 2006 -0400 wined3d: Register map cleanups. Various cleanups: - do not use DWORD as a bitmask, that places artificial limit of 32 on registers - track attributes that are used and declare only those - move declarations function call in pshader/vshader to allow us to insert pixel or vertex specific code between the declarations and the rest of the code - remove redundant 0 intializers - remove useless continue statement --- dlls/wined3d/baseshader.c | 64 +++++++++++++++++++--------------------- dlls/wined3d/pixelshader.c | 6 ++++ dlls/wined3d/vertexshader.c | 6 ++++ dlls/wined3d/wined3d_private.h | 32 ++++++++++++++++---- 4 files changed, 67 insertions(+), 41 deletions(-) Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=a42925ee090e6992b6ec...
participants (1)
-
Alexandre Julliard