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.
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 [url=https://github.com/coelckers/gzdoom/blob/756c593e96eac4eea409a2904c824d61470ccba2/wadsrc/static/shaders/glsl/shadowmap.fp#L114]length()[/url] function in [url=https://github.com/KhronosGroup/SPIRV-Cross/issues/965]SPIRV-Cross[/url] 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 [url=https://github.com/coelckers/gzdoom/pull/846]this PR[/url].