8#ifndef skgpu_graphite_MtlGraphiteUtilsPriv_DEFINED
9#define skgpu_graphite_MtlGraphiteUtilsPriv_DEFINED
16#import <Metal/Metal.h>
19class ShaderErrorHandler;
23class MtlSharedContext;
29 std::string_view label,
31 ShaderErrorHandler* errorHandler);
SkEnumBitMask< DepthStencilFlags > MtlFormatToDepthStencilFlags(MTLPixelFormat format)
MTLPixelFormat MtlDepthStencilFlagsToFormat(SkEnumBitMask< DepthStencilFlags > mask)
sk_cfp< id< MTLLibrary > > MtlCompileShaderLibrary(const MtlSharedContext *sharedContext, std::string_view label, std::string_view msl, ShaderErrorHandler *errorHandler)