Module: wine Branch: refs/heads/master Commit: 17b0d26c1e06cf78d93cfc9bdbe618f456e196b1 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=17b0d26c1e06cf78d93cfc9b...
Author: Ivan Gyurdiev ivg231@gmail.com Date: Mon Jun 12 02:54:30 2006 -0400
wined3d: Share trace pass
Now that the declaration function is out of the way, the tracing pass, which is very long and 100% the same can be shared between pixel and vertex shaders.
The new function is called shader_trace_init(), and is responsible for: - tracing the shader - initializing the function length - setting the shader version [needed very early]
---
dlls/wined3d/baseshader.c | 147 +++++++++++++++++++++++++++++- dlls/wined3d/glsl_shader.c | 18 ++-- dlls/wined3d/pixelshader.c | 196 ++++++---------------------------------- dlls/wined3d/vertexshader.c | 165 +++------------------------------- dlls/wined3d/wined3d_private.h | 9 +- 5 files changed, 199 insertions(+), 336 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=17b0d26c1e06cf78d93c...