DXDecompiler icon indicating copy to clipboard operation
DXDecompiler copied to clipboard

Create Tickets

Open sweetgiorni opened this issue 4 years ago • 1 comments

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:

  • Refactor test directory (Perhaps a dedicated folder for each test case because of all the generated files?)\
  • Fix broken tests
  • Remove old HLSLDecompiler from tests
  • Port code generation logic from OldHLSLDecompiler to use the new IR classes

sweetgiorni avatar Feb 22 '21 04:02 sweetgiorni

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.

spacehamster avatar Feb 23 '21 03:02 spacehamster