On Mon Dec 4 13:35:05 2023 +0000, Jacek Caban wrote:
Do you have any particular case in mind where we don't want that? Note that if we'd move unwrapping extensions to drivers, it may require them to copy entire chain, which could easily get ugly.
Well ideally driver shouldn't need to do much, and actually maybe less than what they currently do. I think after this MR we could get rid of many of their entry points by moving the implementation to winevulkan.
I don't have any precise idea in mind but I believe there's some extensions related to present wait / partial present which might end up being useful, I don't know if there's handles involved in there, maybe not. In any case it feels more consistent and less error-prone if all the handles have the same nature at a given indirection level.
Anyway I'll keep that for now but add a FIXME comment to make sure it's more obvious.