Closed oscarbg closed 6 years ago
How is this a vkQuake bug? This is clearly a flaw in MoltenVK. You should file a bug with them.
you are correct not a vkquake bug.. just saying if it's "easy" to massage code to work on MoltenVK.. FYI the shader compiler bug has been fixed so seems right now only missing is triangle fan aka "VkPrimitiveTopology value 5" which is not supported by Metal.. don't know if much work changing triangle fan draw calls for other ones metal supports.. thanks..
Yeah, seems like triangle fans are just not supported. I can look into making it use strips or lists.
Would be nice.. thanks..
Try 77f3caf16d46736015ace94e85810c7d2ce8909b
thanks... will try now soon that Vulkan 1.1.73 SDK includes Macos binary release with fixes.. curiosity have you tested it already? I see latest commit mentions "restrict the workaround to OSX builds only" are you planning on providing vkquake Macos binary builds on github also?
I do not own Apple hardware and I have no intention to buy any.
no problem now it's working!! only some minor issues changing screen res but also not your problem
Glad that it works for you
we had a twitter interchange few days ago saying to interested on Metal and I said let's improve current situation by getting feedback to both Apple for Metal impros and MoltenVK..
so tried to compile vkquake using MacOS Vulkan SDK and to my surprise compiled ok changing only libvulkan.so for -framework vulkan.. I did previously:
brew upgrade libsdl
to use also new SDL 2.0.8 supporting Vulkan for Macos..also seems crashes very late in the process of Vulkan init so seems good news: will report to MoltenVK devs but anyway is easy to fix from your side this error?:
VkPrimitiveTopology value 5 is not supported for rendering
worse seems this shader compiler error: