Compiler encountered an internal error (Error code 2) Vulkan/MacOS/MoltenVK?

425 Views Asked by At

On a call to vkCreateGraphicsPipelines I'm getting the following output from the MoltenVK library:

[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Render pipeline compile failed (Error code 2):
Compiler encountered an internal error.

and then vkCreateGraphicsPipelines returns VK_ERROR_INITIALIZATION_FAILED.

This only occurs on one of my two Macs. On the other Mac, and on Windows and Linux machines, the program works fine.

Any ideas for next steps in debugging or reporting this? Anyone know what "Error code 2" means, or how to get more information about the internal compiler error? Anyway to turn on extra debug / logging in MoltenVK?

0

There are 0 best solutions below