-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LTCG symbols: CDevice_KickOff variants, D3DDevice_MakeSpace, and XGSetSurfaceHeader #199
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new files should really mention your own name in the header comment block
Be aware that especially KickOff has likely been inlined in many titles - and since symbol scanning only returns one location it's currently not possible to locate (nor patch!) any other occurrences... |
@PatrickvL, signatures aren't copyrighted. Which they will get remove and replace with correct license. If going to keep the authors name, it is best to put it in central file which is the grouped signatures file, aka XXXX_OOPVA.inl files. See pull request #195 |
@RadWolfie note, I did not mention the term "copyright' on purpose ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
numerous of changes needed relative to the comments. I haven't test/review the signatures yet to verify anything amiss and/or list of titles missing these newly added symbol signatures. Plus review my branch(es) if any change is needed to work better.
@jackchentwkh, one other thing I noticed from our CI workflow checks. There are identical oovpa signatures being found and missing symbol entry for new symbols in unit test's database which is a requirement in order to properly test the signatures. See Add new founding symbol(s) or variant of symbol ABI section, step 4. EDIT: Please ignore CI's Linux build failure, the cause of failure is from submodule's cmake file needs an update, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Jack, don't be intimidated by all the review comments; I think I can speak for the others as well, that it's only meant to make sure everything that's newly contributed with this pull request is going to get merged in the very best possible shape & form!
per my last conversation with @RadWolfie , he will help me commit those necessary changes to merge this PR. So I will focus on other filed. currently I am working on a new symbol CMiniport_SoftwareMethod() which is necessary for D3DDevice_RunPushbuffer() to fixup return jump instructions and other pushbuffer fixups. |
…vice_MakeSpace_0, XGSetSurfaceHeader
3cc9e3b
to
c41069d
Compare
e455ce3
to
833d81c
Compare
Fixup previous commit is made correction for titles older than build number are being detected and verified. Although, there is another function which is almost identical to CDevice_KickOff. With only difference is near end of function (first return) has "or" instruction to make it different from the other function. So, I had to rewrite the old and new signatures to use better detection. NOTE: Before 4034 does not have "or" instruction. It is now ready for review since unit test did not report any issues nor missing detected known functions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one last question, no further comments
…signatures Renamed: - CDevice_KickOff_0_ecx to CDevice_KickOff - CDevice_KickOff_0_edx to CDevice_KickOff_0__LTCG_edx1 - D3DDevice_MakeSpace_0 to D3DDevice_MakeSpace Removed: - CDevice_KickOff_0__LTCG_edx1 (4928, 5849) - CDevice_KickOff (5849) - XGSetSurfaceHeader (5659) All signatures are updated to reduce amount of signatures.
…ures Updated: - CDevice_KickOff (3911, 4034, 4531, 5028, 5455) - D3DDevice_MakeSpace (4034, 4134) Added: - CDevice_KickOff_4 (4432, 4531, 5028) - CDevice_KickOff_0__LTCG_eax1 (5455)
56594dd
to
b070478
Compare
Add LTCG symbols:
these symbols are necessary for pushbuffer based rendering.