At the moment an attempt to enable shadowmaps on macOS causes a fatal error because of shader compilation failure.
The problem is missing handling of array's length() function in SPIRV-Cross and MoltenVK.
Shadowmaps are the last major unsupported feature in Vulkan renderer on macOS.
I replaced the missing functionality with node count passed as uniform in this PR.
Shadowmap shader issue with Molten
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Re: Shadowmap shader issue with Molten
PR looks good to me - feel free to merge it.
