Home
last modified time | relevance | path

Searched refs:translatedSource (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/
DShaderD3D.cpp297 const std::string &translatedSource = mState.getTranslatedSource(); in compile() local
299 mUsesMultipleRenderTargets = translatedSource.find("GL_USES_MRT") != std::string::npos; in compile()
300 mUsesFragColor = translatedSource.find("GL_USES_FRAG_COLOR") != std::string::npos; in compile()
301 mUsesFragData = translatedSource.find("GL_USES_FRAG_DATA") != std::string::npos; in compile()
302 mUsesSecondaryColor = translatedSource.find("GL_USES_SECONDARY_COLOR") != std::string::npos; in compile()
303 mUsesFragCoord = translatedSource.find("GL_USES_FRAG_COORD") != std::string::npos; in compile()
304 mUsesFrontFacing = translatedSource.find("GL_USES_FRONT_FACING") != std::string::npos; in compile()
306 translatedSource.find("GL_USES_HELPER_INVOCATION") != std::string::npos; in compile()
307 mUsesPointSize = translatedSource.find("GL_USES_POINT_SIZE") != std::string::npos; in compile()
308 mUsesPointCoord = translatedSource.find("GL_USES_POINT_COORD") != std::string::npos; in compile()
[all …]
/external/angle/src/libANGLE/renderer/metal/
Dmtl_glslang_utils.mm250 std::string PostProcessTranslatedMsl(const std::string &translatedSource)
262 return std::regex_replace(translatedSource, sampleMaskDeclareRegex, sampleMaskReplaceStr);