-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MoltenVK : VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed (Error code 3): #2230
Comments
If you set the MoltenVK configuration parameters:
MoltenVK will log the incoming SPIR-V and outgoing MSL. The Configuring MoltenVK section of the |
It seems be not supported for DX9 HLSL style.
|
Based on the shaders you posted, it looks like you're using a standalone sampler, which in SPIR-V must be combined with an image to be able to sample a texture, but you're using it as though it were a combined image-sampler. Your SPIR-V is likely invalid. |
Based on your initial post, this may be a bug in |
What does the original HLSL look like? |
I used HLSL10 style instead of HLSL style, and it works. |
Yeah, that's almost certainly a bug in |
How to check what code generated ?
I used glslang to compile HLSL into my project.
Here is my repo : https://github.com/metarutaiga/Minamoto
To select xxGraphic and Vulkan
The text was updated successfully, but these errors were encountered: