Home
last modified time | relevance | path

Searched refs:MetalShaderType (Results 1 – 3 of 3) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DProgramPrelude.h20 enum class MetalShaderType enum
33 explicit ProgramPreludeConfig(MetalShaderType shaderType) : shaderType(shaderType) {} in ProgramPreludeConfig()
35 MetalShaderType shaderType = MetalShaderType::None;
DProgramPrelude.cpp43 case MetalShaderType::None: in ProgramPrelude()
46 case MetalShaderType::Vertex: in ProgramPrelude()
49 case MetalShaderType::Fragment: in ProgramPrelude()
52 case MetalShaderType::Compute: in ProgramPrelude()
/external/angle/src/compiler/translator/
DTranslatorMetalDirect.cpp692 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()