Henri,
Thanks for the quick reply.
So I got rid of the maze of structures and instead called the helper functions directly for each test. The tests are now much easier to understand. Is there anything else that should be incorporated into these tests? Any other ideas or suggestions?
Travis Athougies
On Thu, Jul 22, 2010 at 3:16 PM, Henri Verbeet hverbeet@gmail.com wrote:
On 21 July 2010 23:46, Travis Athougies iammisc@gmail.com wrote:
an HLSL test suite might be a good place to start, so here's a draft of a test framework and a few tests that use it. It's not complete, I know (for one, I need to write tests for vertex shaders), but before I go any farther, I'd like to know get peoples' opinion on the design. Is this the way a wine HLSL test suite should look? Is there something else I should incorporate into these tests? I'm absolutely open to suggestions.
Leaving the (fairly significant) specific issues with the implementation aside, the basic idea will work, but it seems to me you're making it more complicated than it needs to be. This really doesn't need to be much more complex than the tests in dlls/d3d9/tests/visual.c, though a bit more generic would be nice.
That page is pretty awful.
-- Travis Athougies