8#ifndef skgpu_graphite_DawnGraphiteUtilsPriv_DEFINED
9#define skgpu_graphite_DawnGraphiteUtilsPriv_DEFINED
16#include "webgpu/webgpu_cpp.h"
20struct ProgramSettings;
24class ShaderErrorHandler;
28class DawnSharedContext;
38 const std::string& wgsl,
39 wgpu::ShaderModule* module,
wgpu::TextureFormat DawnDepthStencilFlagsToFormat(SkEnumBitMask< DepthStencilFlags > mask)
bool DawnFormatIsDepthOrStencil(wgpu::TextureFormat format)
bool DawnFormatIsDepth(wgpu::TextureFormat format)
bool DawnCompileWGSLShaderModule(const DawnSharedContext *sharedContext, const char *label, const std::string &wgsl, wgpu::ShaderModule *module, ShaderErrorHandler *errorHandler)
bool DawnFormatIsStencil(wgpu::TextureFormat format)