Closed
Description
Starting with Vulkan SDK 1.3.296, Sascha Willems' Vulkan descriptorindexing sample is broken. Unfortunately it remains broken with MoltenVK's current main development head with updated SPIRV-Cross. The error is:
[mvk-error] SPIR-V to MSL conversion error: Argument buffer resource base type could not be determined. When padding argument buffer elements, all descriptor set resources must be supplied with a base type by the app.
[mvk-error] VK_ERROR_INVALID_SHADER_NV: Fragment shader function could not be compiled into pipeline. See previous logged error.
ERROR: [0][mvk-error] : VK_ERROR_INVALID_SHADER_NV: Fragment shader function could not be compiled into pipeline. See previous logged error.
Fatal : VkResult is "ERROR_INVALID_SHADER_NV" in /Users/steve/XcodeProjects/Vulkan/examples/descriptorindexing/descriptorindexing.cpp at line 346
Assertion failed: (res == VK_SUCCESS), function preparePipelines, file descriptorindexing.cpp, line 346.
Error, result code = -6
This looks like a reoccurance of a previously solved issue, or potentially a dup of a currently open issue. I will review open PRs to check and update any found references here. Likely a dup of #2377 and #2374.