Compute pipeline compile fails with "Compiler encountered an internal error." #2363
Labels
Answered
A question was answered
Metal improvement required
An improvement to Metal is required to resolve this issue.
Question
SPIRV-Cross
Please re-submit to SPRIV-Cross
The below compute shader and pipeline are producing the following error from
vkCreateComputePipelines
:The crash report for MTLCompilerService says the following:
Compute shader (SPIR-V and generated MSL included): https://gist.github.com/squidbus/50273067f4bd89752473c04683524a93
Pipeline:
System: M3 Max w/ macOS 15.1 Beta 5 (and macOS 15)
This seems to be coming from the last line with the image write, as if I replace the coordinates argument with a fixed zero vector it compiles.
Note that there is no error if I use the command line shader compiler, only when compiling a pipeline at runtime.
I have a feeling this may be triggering a Metal compiler bug, but I felt it would be worth reporting here for a look, in case it could be worked around in the SPIR-V to Metal translation for better compatibility.
The text was updated successfully, but these errors were encountered: