ArthurGuibert / SwiftUI-MulticolorGradient

A SwiftUI implementation of multiple color gradient (like mesh gradient) 🌈
MIT License
52 stars 5 forks source link

crash in Simulator, iOS 17.4 and 17.0 #3

Open stevendinggang opened 2 months ago

stevendinggang commented 2 months ago
截屏2024-04-23 18 12 22
    computeEncoder?.dispatchThreads(gridSize,
                                    threadsPerThreadgroup: threadGroupSize)
    computeEncoder?.endEncoding()

MTLValidateFeatureSupport:6563: failed assertion `Dispatch Threads with Non-Uniform Threadgroup Size is not supported on this device' crash in Simulator, iOS 17.4 and 17.0

surfbryce commented 3 weeks ago

@stevendinggang you have to update the package, the example comes with the outdated one.