Conversation
e33de2b to
32dc476
Compare
85ae5fd to
e75ca1c
Compare
cfbeab6 to
a452ab9
Compare
b179180 to
b0ea5d0
Compare
adamdmoss
left a comment
There was a problem hiding this comment.
Looks good to me, FWIW! I guess I'd want to actually try it out to be really confident though. 😆
I'm not exploiting privileged information but the OMM usage situation may be better with more recent Cyberpunk 2077 versions. |
Yup, I've noticed Cyberpunk 2077 actually using OMMs since around Phantom Liberty update. I have verified that this code does work with the game (as in, it successfully uses micromaps in its pipeline and does not explode), or at least it did a few months ago, but unfortunately I was unable to notice any performance gain in its built-in benchmark on my GeForce RTX 4080 Mobile. |
A rough proof-of-concept that gets at least some parts of OMMs working.
Needs to be combined with https://github.com/Saancreed/vkd3d-proton/tree/nvapi-omm and therefore will remain a draft for the foreseeable future. Used interfaces should not be considered stable.
Still, I'm posting this for some visibility, maybe one day we will actually find any game that makes use of this that doesn't just call
SetCreatePipelineStateOptions(NVAPI_D3D12_PIPELINE_CREATION_STATE_FLAGS_ENABLE_OMM_SUPPORT)only to never actually build any micromap like Cyberpunk 2077 v1.62 seems to do.Closes #123