Open sweetgiorni opened 3 years ago
I've opened some issues https://github.com/spacehamster/DXDecompiler/issues/8 https://github.com/spacehamster/DXDecompiler/issues/9
Refactor test directory (Perhaps a dedicated folder for each test case because of all the generated files?)\
i'm open to suggestions.
Fix broken tests
Ideally the important tests would be the recompile test that ensures that would recompiling the HLSL output matches the original bytecode input, but this is a long way off (and may not interact well with optimisations). The other tests are mainly just sanity tests that are difficult to get 100% right at this stage.
Remove old HLSLDecompiler from tests
This should already be the case.
Port code generation logic from OldHLSLDecompiler to use the new IR classes
This is difficult to do until https://github.com/spacehamster/DXDecompiler/issues/8 is solved.
Could you create some tickets for work that needs to be done? I see you've completed a good chunk of the IR implementation and I didn't want to jump into something that will be deprecated.
Some things I suspect should be done, but I'm not sure: