wined3d: Share trace pass
commit17b0d26c1e06cf78d93cfc9bdbe618f456e196b1
authorIvan Gyurdiev <ivg231@gmail.com>
Mon, 12 Jun 2006 06:54:30 +0000 (12 02:54 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 13 Jun 2006 09:40:22 +0000 (13 11:40 +0200)
tree8726236bd7ead899b8db9c9e9941ca5f2c18005c
parent9bae7755ab1f3983980306d8c94c86af4c9e7bb2
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
dlls/wined3d/glsl_shader.c
dlls/wined3d/pixelshader.c
dlls/wined3d/vertexshader.c
dlls/wined3d/wined3d_private.h