VideoBackends/Vulkan: Drop BUG_BROKEN_DISCARD_WITH_EARLY_Z workaround#14492
VideoBackends/Vulkan: Drop BUG_BROKEN_DISCARD_WITH_EARLY_Z workaround#14492OatmealDome wants to merge 5 commits intodolphin-emu:masterfrom
Conversation
ae139bd to
ad633c9
Compare
TellowKrinkle
left a comment
There was a problem hiding this comment.
Seems reasonable. Would it be worth adding a Common/CommonFuncsObjC.mm for implementing ObjC stuff so we don't need to manually msgsend?
ad633c9 to
94e15e3
Compare
|
That seems reasonable. Not sure how I'd implement it off the top of my head though. |
I think it's just adding the |
94e15e3 to
5a5c722
Compare
|
Ah, that's what you mean lol For some reason I somehow read your suggestion as creating some sort of function to make this easier: |
5a5c722 to
ccb6dc9
Compare
|
Ahh no, just that if you're in a const NSOperatingSystemVersion ver = [[NSProcessInfo processInfo] operatingSystemVersion];
return { ver.majorVersion, ver.minorVersion, ver.patchVersion };which looks a bit nicer |
|
BTW since Metal and Vulkan are using the same calculation for driver version on macOS, maybe put that in some shared place and call from both? |
2de54fd to
95aa8b5
Compare
…EN_DISCARD_WITH_EARLY_Z workaround
95aa8b5 to
26e58ea
Compare
|
OK, I think this is in a good place now. I've moved the version calculation to be in DriverDetails and created |
|
Can you add the |
|
I didn't add any new |
|
All good, I was apparently seeing things that don't exist. |
Supersedes #14271. I will split the changes to the build system into a separate PR.
I also removed the nil check in
GetMacOSVersion()because[NSProcessInfo processInfo]is guaranteed to never be nil.