Searched refs:MetalShaderType (Results 1 – 3 of 3) sorted by relevance
20 enum class MetalShaderType enum33 explicit ProgramPreludeConfig(MetalShaderType shaderType) : shaderType(shaderType) {} in ProgramPreludeConfig()35 MetalShaderType shaderType = MetalShaderType::None;
43 case MetalShaderType::None: in ProgramPrelude()46 case MetalShaderType::Vertex: in ProgramPrelude()49 case MetalShaderType::Fragment: in ProgramPrelude()52 case MetalShaderType::Compute: in ProgramPrelude()
692 static inline MetalShaderType metalShaderTypeFromGLSL(sh::GLenum shaderType) in metalShaderTypeFromGLSL()697 return MetalShaderType::Vertex; in metalShaderTypeFromGLSL()699 return MetalShaderType::Fragment; in metalShaderTypeFromGLSL()702 return MetalShaderType::Compute; in metalShaderTypeFromGLSL()705 return MetalShaderType::None; in metalShaderTypeFromGLSL()