我刚刚在WWDC2016的“Metal的新功能”视频中了解了function_constants,它多次提到了UberShaders。我想创建一个片段super着色器,可用于不同类型的channel,如simplePassThrough、defferred等。下面是我想如何使用它。constantintpassType[[function_constant(0)]];constantboolsimplePassThrough=(passType==0);constantboolforwardShading=(passType==1);constantbooldeferredShadin