osy / Polaris22Fixup

Metal driver patches for Vega M
MIT License
47 stars 7 forks source link

Fix the buggy render in Big Sur 11.3 beta #13

Closed goodbest closed 3 years ago

goodbest commented 3 years ago

Fix https://github.com/osy/HaC-Mini/issues/537 Tested both in 11.2 and 11.3.

I think Apple switch back to the old MTL drive code or logic (as the old binary patch logic works again). However not sure if it's true when official 11.3 comes.

Let's wait and see.

osy commented 3 years ago

I think the logic never changed, but it's what the compiler optimizes (where the return is located, what registers are used, etc). I think rather than checking for the OS version, we just try patching with both in case it changes again.

osy commented 3 years ago

Also it's still broken in beta 3 so I'm guessing it's going to make it to the final build, so I will merge it for now.