crosire / d3d8to9

A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
BSD 2-Clause "Simplified" License
911 stars 83 forks source link

Dump disassembled shader before update #73

Closed PatrickvL closed 6 years ago

PatrickvL commented 6 years ago

Would you consider logging the disassembled shader before it gets updated?

#ifndef D3D8TO9NOLOG
  LOG << "> Dumping disassembled shader:" << std::endl << std::endl << SourceCode << std::endl;
#endif

This helped me personally to troubleshoot issue #70

crosire commented 6 years ago

Sounds useful. Do you want to create a pull request for tracking yourself or want me to just push the changes?

PatrickvL commented 6 years ago

I'll let you have the honours ;)

PatrickvL commented 6 years ago

Thank you!