Shadowmap shader issue with Molten

Bugs that have been investigated and resolved somehow.

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.
Post Reply
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Shadowmap shader issue with Molten

Post by _mental_ »

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.
dpJudas
 
 
Posts: 3177
Joined: Sat May 28, 2016 1:01 pm

Re: Shadowmap shader issue with Molten

Post by dpJudas »

PR looks good to me - feel free to merge it.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: Shadowmap shader issue with Molten

Post by _mental_ »

Fixed in da2d0e4.
Post Reply

Return to “Closed Bugs [GZDoom]”