Shadowmap shader issue with Molten

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Shadowmap shader issue with Molten

Re: Shadowmap shader issue with Molten

by _mental_ » Fri May 24, 2019 5:31 am

Fixed in da2d0e4.

Re: Shadowmap shader issue with Molten

by dpJudas » Fri May 24, 2019 4:09 am

PR looks good to me - feel free to merge it.

Shadowmap shader issue with Molten

by _mental_ » Fri May 24, 2019 4:02 am

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.

Top