-
Notifications
You must be signed in to change notification settings - Fork 56
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
VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed #13
Comments
KhronosGroup/MoltenVK#1174 |
I tried to change the default sampler count to 1, please check whether this (https://github.com/AdamYuan/SparseVoxelOctree/suites/5794061208/artifacts/193446487) could work. |
also has error |
seems to be a syntax error(not match the input and output) |
感觉像是Spirv-Cross的bug MVK_CONFIG_LOG_LEVEL=2
MVK_DEBUG=1 |
没有其他输出,还是我上面给你的错误提示。 |
When running on macOS Monterey we get this error.
program_source:38:174: error: cannot reserve 'texture' resource locations at index 0
fragment void main0(main0_in in [[stage_in]], device _66& _68 [[buffer(2)]], device _101& _103 [[buffer(3)]], constant _20& _22 [[buffer(4)]], array<texture2d, 1024> _19 [[texture(0)]], array<sampler, 1024> _19Smplr [[sampler(0)]])
^
program_source:38:215: error: cannot reserve 'sampler' resource locations at index 0
fragment void main0(main0_in in [[stage_in]], device _66& _68 [[buffer(2)]], device _101& _103 [[buffer(3)]], constant _20& _22 [[buffer(4)]], array<texture2d, 1024> _19 [[texture(0)]], array<sampler, 1024> _19Smplr [[sampler(0)]])
macbook pro m1.
The text was updated successfully, but these errors were encountered: