46 MTLPixelFormat stencilFormat);
51#if defined(GR_TEST_UTILS)
52 void resetShaderCacheForTesting()
const { fPipelineStateCache->release(); }
57#define GR_PIPELINE_STATE_CACHE_STATS
63 ~PipelineStateCache()
override;
67 Stats::ProgramCacheResult*);
72 Stats::ProgramCacheResult*);
90 std::unique_ptr<PipelineStateCache> fPipelineStateCache;
95 struct MSAALoadPipelineEntry {
97 MTLPixelFormat fColorFormat;
99 MTLPixelFormat fStencilFormat;
101 id<MTLLibrary> fMSAALoadLibrary;