Stefan Dösinger : wined3d: Track vertex declaration changes on vertex shaders.
Alexandre Julliard
julliard at winehq.org
Wed Nov 21 07:47:41 CST 2007
Module: wine
Branch: master
Commit: 959212304dfaf0e7459374593b20b74fe22a0b57
URL: http://source.winehq.org/git/wine.git/?a=commit;h=959212304dfaf0e7459374593b20b74fe22a0b57
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Tue Nov 20 21:14:10 2007 +0100
wined3d: Track vertex declaration changes on vertex shaders.
If an attribute has type D3DDECLTYPE_D3DCOLOR, the red and blue channels
are swizzled in the shader. Since the attribute is stored in the vertex
declaration and not the vertex shader, it can change by setting a new
vertex declaration. If this happens, we have to recompile the shader
with the swizzling of that specific attribute turned on or off.
---
dlls/wined3d/vertexdeclaration.c | 29 ++++++-
dlls/wined3d/vertexshader.c | 169 ++++++++++++++++++++++++++++++++++---
dlls/wined3d/wined3d_private.h | 17 ++++-
3 files changed, 199 insertions(+), 16 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=959212304dfaf0e7459374593b20b74fe22a0b57
More information about the wine-cvs
mailing list