Metal: vertexFunction defined in .metal file becomes nil once setting Compiler and Linker Options for MSL cikernel
问题 VertexFunction and FragmentFunction defined in .metal file worked nicely, but they became nil once I specified Compiler and Linker Options following Apple's doc: -fcikernel flag in the Other Metal Compiler Flags option, and -cikernel flat in MTLLINKER_FLAGS in User-Defined setting. I need the settings above for cikernel with MSL (metal shading language). Indeed, cikernel with Core Image Kernel Language deprecated in 12.0. How could I use both vertex/fragment Metal shader and MSL cikernel