Hello MoltenVK team!
First, huge thumbs up for your effort in bringing Vulkan to the Apple ecosystem!
Second, I’m having two slight issues with my shaders, and I’m wondering whether these are issues with your shader converter, or whether I need to change something:
1. The shader converter does not seem to be aware of gl_FragDepth
,
<program source>:201:9: error: use of undeclared identifier 'gl_FragDepth'
gl_FragDepth = Depth;
2. The shader converter also does not seem to be aware of sampler arrays:
<program source>:51:33: error: type 'texture2d<float>' does not provide a subscript operator
diffuse = ObjectTextures[1].sample(ObjectTextures[1]Smplr, in.VertexData_TexCoord).xyz;
Looking forward to your advise 🙂