Posts

Post not yet marked as solved
1 Replies
579 Views
We're seeing a crash in the MTLCompilerService on iOS devices running ios14. From the Console: kernel EXCRESOURCE -> MTLCompilerService[797] exceeded mem limit: ActiveSoft 50 MB (non-fatal) That comes back to the app as: Compiler failed with XPCERRORCONNECTIONINTERRUPTED The shader in question does real time contouring, so it's a bit complex. But this worked fine for at least a year before ios14 came along and it's crashing with both our app store version and anything we compile fresh. Anyone seen anything like this?
Posted
by mousebird.
Last updated
.
Post not yet marked as solved
0 Replies
344 Views
Has anyone seen this error when debugging a vertex shader in Xcode for Metal?I'm using an Argument Buffer that looks like this:struct VertexTriArgBufferB { constant Uniforms *uniforms [[ id(WKSUniformArgBuffer) ]]; constant UniformDrawStateA *uniDrawState [[ id(WKSUniformDrawStateArgBuffer) ]]; constant Lighting *lighting [[ id(WKSLightingArgBuffer) ]]; constant RegularTextures *tex [[ id(WKSTextureArgBuffer) ]];};Passed in to the vertex shader like so:vertex ProjVertexTriB vertexTri_multiTex( VertexTriB vert [[stage_in]], constant VertexTriArgBufferB & vertArgs [[buffer(WKSVertexArgBuffer)]]){ .....}The full error message is:Error DYPShaderDebuggerErrorDomain:2:Error creating instrumented render pipeline state: Error Domain=AGXMetalA12 Code=3 "buffer(0): Argument buffer participates in modification as well as resource use" UserInfo={NSLocalizedDescription=buffer(0): Argument buffer participates in modification as well as resource use}
Posted
by mousebird.
Last updated
.