wined3d: Modify shader_dump_param() to take into account address token.
commit746d1b1cd3e8d577d8a8259171a9daa778f74e00
authorIvan Gyurdiev <ivg2@cornell.edu>
Wed, 17 May 2006 06:05:49 +0000 (17 02:05 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 17 May 2006 08:55:11 +0000 (17 10:55 +0200)
treea6f0ff74dcb8959ca1cc9f3bab71045905480d60
parent03b67e3030092f4fb33548b95b200da1cf08e80d
wined3d: Modify shader_dump_param() to take into account address token.

Currently we hardcode a0.x, which I think is correct for shaders 1.0.
However, for shaders 2.0, we must look into the address token, and
print the register there. Handle both cases to correct the trace.
dlls/wined3d/baseshader.c
dlls/wined3d/pixelshader.c
dlls/wined3d/vertexshader.c
dlls/wined3d/wined3d_private.h