Lines Matching refs:fIntrinsicMap
35 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()
45 fIntrinsicMap[String("sin")] = ALL_GLSL(Sin); in setupIntrinsics()
46 fIntrinsicMap[String("cos")] = ALL_GLSL(Cos); in setupIntrinsics()
47 fIntrinsicMap[String("tan")] = ALL_GLSL(Tan); in setupIntrinsics()
48 fIntrinsicMap[String("asin")] = ALL_GLSL(Asin); in setupIntrinsics()
49 fIntrinsicMap[String("acos")] = ALL_GLSL(Acos); in setupIntrinsics()
50 fIntrinsicMap[String("atan")] = SPECIAL(Atan); in setupIntrinsics()
51 fIntrinsicMap[String("sinh")] = ALL_GLSL(Sinh); in setupIntrinsics()
52 fIntrinsicMap[String("cosh")] = ALL_GLSL(Cosh); in setupIntrinsics()
53 fIntrinsicMap[String("tanh")] = ALL_GLSL(Tanh); in setupIntrinsics()
54 fIntrinsicMap[String("asinh")] = ALL_GLSL(Asinh); in setupIntrinsics()
55 fIntrinsicMap[String("acosh")] = ALL_GLSL(Acosh); in setupIntrinsics()
56 fIntrinsicMap[String("atanh")] = ALL_GLSL(Atanh); in setupIntrinsics()
57 fIntrinsicMap[String("pow")] = ALL_GLSL(Pow); in setupIntrinsics()
58 fIntrinsicMap[String("exp")] = ALL_GLSL(Exp); in setupIntrinsics()
59 fIntrinsicMap[String("log")] = ALL_GLSL(Log); in setupIntrinsics()
60 fIntrinsicMap[String("exp2")] = ALL_GLSL(Exp2); in setupIntrinsics()
61 fIntrinsicMap[String("log2")] = ALL_GLSL(Log2); in setupIntrinsics()
62 fIntrinsicMap[String("sqrt")] = ALL_GLSL(Sqrt); in setupIntrinsics()
63 fIntrinsicMap[String("inverse")] = ALL_GLSL(MatrixInverse); in setupIntrinsics()
64 fIntrinsicMap[String("transpose")] = ALL_SPIRV(Transpose); in setupIntrinsics()
65 fIntrinsicMap[String("inversesqrt")] = ALL_GLSL(InverseSqrt); in setupIntrinsics()
66 fIntrinsicMap[String("determinant")] = ALL_GLSL(Determinant); in setupIntrinsics()
67 fIntrinsicMap[String("matrixInverse")] = ALL_GLSL(MatrixInverse); in setupIntrinsics()
68 fIntrinsicMap[String("mod")] = SPECIAL(Mod); in setupIntrinsics()
69 fIntrinsicMap[String("min")] = SPECIAL(Min); in setupIntrinsics()
70 fIntrinsicMap[String("max")] = SPECIAL(Max); in setupIntrinsics()
71 fIntrinsicMap[String("clamp")] = SPECIAL(Clamp); in setupIntrinsics()
72 fIntrinsicMap[String("saturate")] = SPECIAL(Saturate); in setupIntrinsics()
73 fIntrinsicMap[String("dot")] = std::make_tuple(kSPIRV_IntrinsicKind, SpvOpDot, in setupIntrinsics()
75 fIntrinsicMap[String("mix")] = SPECIAL(Mix); in setupIntrinsics()
76 fIntrinsicMap[String("step")] = ALL_GLSL(Step); in setupIntrinsics()
77 fIntrinsicMap[String("smoothstep")] = ALL_GLSL(SmoothStep); in setupIntrinsics()
78 fIntrinsicMap[String("fma")] = ALL_GLSL(Fma); in setupIntrinsics()
79 fIntrinsicMap[String("frexp")] = ALL_GLSL(Frexp); in setupIntrinsics()
80 fIntrinsicMap[String("ldexp")] = ALL_GLSL(Ldexp); in setupIntrinsics()
82 #define PACK(type) fIntrinsicMap[String("pack" #type)] = ALL_GLSL(Pack ## type); \ in setupIntrinsics()
83 fIntrinsicMap[String("unpack" #type)] = ALL_GLSL(Unpack ## type) in setupIntrinsics()
90 fIntrinsicMap[String("length")] = ALL_GLSL(Length); in setupIntrinsics()
91 fIntrinsicMap[String("distance")] = ALL_GLSL(Distance); in setupIntrinsics()
92 fIntrinsicMap[String("cross")] = ALL_GLSL(Cross); in setupIntrinsics()
93 fIntrinsicMap[String("normalize")] = ALL_GLSL(Normalize); in setupIntrinsics()
94 fIntrinsicMap[String("faceForward")] = ALL_GLSL(FaceForward); in setupIntrinsics()
95 fIntrinsicMap[String("reflect")] = ALL_GLSL(Reflect); in setupIntrinsics()
96 fIntrinsicMap[String("refract")] = ALL_GLSL(Refract); in setupIntrinsics()
97 fIntrinsicMap[String("findLSB")] = ALL_GLSL(FindILsb); in setupIntrinsics()
98 fIntrinsicMap[String("findMSB")] = BY_TYPE_GLSL(FindSMsb, FindSMsb, FindUMsb); in setupIntrinsics()
99 fIntrinsicMap[String("dFdx")] = std::make_tuple(kSPIRV_IntrinsicKind, SpvOpDPdx, in setupIntrinsics()
101 fIntrinsicMap[String("dFdy")] = std::make_tuple(kSPIRV_IntrinsicKind, SpvOpDPdy, in setupIntrinsics()
103 fIntrinsicMap[String("fwidth")] = std::make_tuple(kSPIRV_IntrinsicKind, SpvOpFwidth, in setupIntrinsics()
105 fIntrinsicMap[String("texture")] = SPECIAL(Texture); in setupIntrinsics()
106 fIntrinsicMap[String("subpassLoad")] = SPECIAL(SubpassLoad); in setupIntrinsics()
108 fIntrinsicMap[String("any")] = std::make_tuple(kSPIRV_IntrinsicKind, SpvOpUndef, in setupIntrinsics()
110 fIntrinsicMap[String("all")] = std::make_tuple(kSPIRV_IntrinsicKind, SpvOpUndef, in setupIntrinsics()
112 fIntrinsicMap[String("equal")] = std::make_tuple(kSPIRV_IntrinsicKind, in setupIntrinsics()
115 fIntrinsicMap[String("notEqual")] = std::make_tuple(kSPIRV_IntrinsicKind, in setupIntrinsics()
119 fIntrinsicMap[String("lessThan")] = std::make_tuple(kSPIRV_IntrinsicKind, in setupIntrinsics()
122 fIntrinsicMap[String("lessThanEqual")] = std::make_tuple(kSPIRV_IntrinsicKind, in setupIntrinsics()
127 fIntrinsicMap[String("greaterThan")] = std::make_tuple(kSPIRV_IntrinsicKind, in setupIntrinsics()
132 fIntrinsicMap[String("greaterThanEqual")] = std::make_tuple(kSPIRV_IntrinsicKind, in setupIntrinsics()
137 fIntrinsicMap[String("EmitVertex")] = ALL_SPIRV(EmitVertex); in setupIntrinsics()
138 fIntrinsicMap[String("EndPrimitive")] = ALL_SPIRV(EndPrimitive); in setupIntrinsics()
671 auto intrinsic = fIntrinsicMap.find(c.fFunction.fName); in writeIntrinsicCall()
672 SkASSERT(intrinsic != fIntrinsicMap.end()); in writeIntrinsicCall()