Home
last modified time | relevance | path

Searched refs:fIntrinsicMap (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp39 fIntrinsicMap[String("round")] = ALL_GLSL(Round); in setupIntrinsics()
40 fIntrinsicMap[String("roundEven")] = ALL_GLSL(RoundEven); in setupIntrinsics()
41 fIntrinsicMap[String("trunc")] = ALL_GLSL(Trunc); in setupIntrinsics()
42 fIntrinsicMap[String("abs")] = BY_TYPE_GLSL(FAbs, SAbs, SAbs); in setupIntrinsics()
43 fIntrinsicMap[String("sign")] = BY_TYPE_GLSL(FSign, SSign, SSign); in setupIntrinsics()
44 fIntrinsicMap[String("floor")] = ALL_GLSL(Floor); in setupIntrinsics()
45 fIntrinsicMap[String("ceil")] = ALL_GLSL(Ceil); in setupIntrinsics()
46 fIntrinsicMap[String("fract")] = ALL_GLSL(Fract); in setupIntrinsics()
47 fIntrinsicMap[String("radians")] = ALL_GLSL(Radians); in setupIntrinsics()
48 fIntrinsicMap[String("degrees")] = ALL_GLSL(Degrees); in setupIntrinsics()
[all …]
DSkSLMetalCodeGenerator.cpp27 fIntrinsicMap[String("sample")] = SPECIAL(Texture); in setupIntrinsics()
28 fIntrinsicMap[String("mod")] = SPECIAL(Mod); in setupIntrinsics()
29 fIntrinsicMap[String("equal")] = METAL(Equal); in setupIntrinsics()
30 fIntrinsicMap[String("notEqual")] = METAL(NotEqual); in setupIntrinsics()
31 fIntrinsicMap[String("lessThan")] = METAL(LessThan); in setupIntrinsics()
32 fIntrinsicMap[String("lessThanEqual")] = METAL(LessThanEqual); in setupIntrinsics()
33 fIntrinsicMap[String("greaterThan")] = METAL(GreaterThan); in setupIntrinsics()
34 fIntrinsicMap[String("greaterThanEqual")] = METAL(GreaterThanEqual); in setupIntrinsics()
168 auto i = fIntrinsicMap.find(c.fFunction.fName); in writeIntrinsicCall()
169 SkASSERT(i != fIntrinsicMap.end()); in writeIntrinsicCall()
[all …]
DSkSLMetalCodeGenerator.h253 std::unordered_map<String, Intrinsic> fIntrinsicMap; variable
DSkSLSPIRVCodeGenerator.h372 std::unordered_map<String, Intrinsic> fIntrinsicMap;
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp35 fIntrinsicMap[String("round")] = ALL_GLSL(Round); in setupIntrinsics()
36 fIntrinsicMap[String("roundEven")] = ALL_GLSL(RoundEven); in setupIntrinsics()
37 fIntrinsicMap[String("trunc")] = ALL_GLSL(Trunc); in setupIntrinsics()
38 fIntrinsicMap[String("abs")] = BY_TYPE_GLSL(FAbs, SAbs, SAbs); in setupIntrinsics()
39 fIntrinsicMap[String("sign")] = BY_TYPE_GLSL(FSign, SSign, SSign); in setupIntrinsics()
40 fIntrinsicMap[String("floor")] = ALL_GLSL(Floor); in setupIntrinsics()
41 fIntrinsicMap[String("ceil")] = ALL_GLSL(Ceil); in setupIntrinsics()
42 fIntrinsicMap[String("fract")] = ALL_GLSL(Fract); in setupIntrinsics()
43 fIntrinsicMap[String("radians")] = ALL_GLSL(Radians); in setupIntrinsics()
44 fIntrinsicMap[String("degrees")] = ALL_GLSL(Degrees); in setupIntrinsics()
[all …]
DSkSLMetalCodeGenerator.cpp27 fIntrinsicMap[String("texture")] = SPECIAL(Texture); in setupIntrinsics()
28 fIntrinsicMap[String("mod")] = SPECIAL(Mod); in setupIntrinsics()
29 fIntrinsicMap[String("lessThan")] = METAL(LessThan); in setupIntrinsics()
30 fIntrinsicMap[String("lessThanEqual")] = METAL(LessThanEqual); in setupIntrinsics()
31 fIntrinsicMap[String("greaterThan")] = METAL(GreaterThan); in setupIntrinsics()
32 fIntrinsicMap[String("greaterThanEqual")] = METAL(GreaterThanEqual); in setupIntrinsics()
164 auto i = fIntrinsicMap.find(c.fFunction.fName); in writeIntrinsicCall()
165 SkASSERT(i != fIntrinsicMap.end()); in writeIntrinsicCall()
198 const auto& entry = fIntrinsicMap.find(c.fFunction.fName); in writeFunctionCall()
199 if (entry != fIntrinsicMap.end()) { in writeFunctionCall()
DSkSLMetalCodeGenerator.h246 std::unordered_map<String, Intrinsic> fIntrinsicMap; variable
DSkSLSPIRVCodeGenerator.h318 std::unordered_map<String, Intrinsic> fIntrinsicMap; variable