http://bugs.winehq.org/show_bug.cgi?id=22918
Misha Koshelev misha680@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29893|0 |1 is obsolete| |
--- Comment #53 from Misha Koshelev misha680@gmail.com 2010-07-28 18:01:47 --- Created an attachment (id=29894) --> (http://bugs.winehq.org/attachment.cgi?id=29894) Brute force tester for declaration -> FVF conversions
I realize you guys probably think I am reinventing the wheel here (I am), but this does allow some nice testing and I prefer to approach Windows as a black box, as I have found, in my prior work with Wine, MSDN is often wrong.
For example, unless I messed something up, I have updated the tester to show that if we split up a declaration, we do indeed get the same FVF codes as if we had converted each sub-declaration individually and ORed the resulting FVF codes together.
Obviously, if the sub-part does not have a member with a usage of D3DDECLUSAGE_POSITION, the second FVF conversion fails.
In any case, I don't think this is the best example, but you get the picture.
Thank you Misha