Lines Matching refs:new
22 : fInvalid_Type(new Type("<INVALID>")) in Context()
23 , fVoid_Type(new Type("void")) in Context()
24 , fDouble_Type(new Type("double", Type::kFloat_NumberKind, 4)) in Context()
25 , fDouble2_Type(new Type("double2", *fDouble_Type, 2)) in Context()
26 , fDouble3_Type(new Type("double3", *fDouble_Type, 3)) in Context()
27 , fDouble4_Type(new Type("double4", *fDouble_Type, 4)) in Context()
28 , fFloat_Type(new Type("float", Type::kFloat_NumberKind, 3)) in Context()
29 , fFloat2_Type(new Type("float2", *fFloat_Type, 2)) in Context()
30 , fFloat3_Type(new Type("float3", *fFloat_Type, 3)) in Context()
31 , fFloat4_Type(new Type("float4", *fFloat_Type, 4)) in Context()
32 , fHalf_Type(new Type("half", Type::kFloat_NumberKind, 2)) in Context()
33 , fHalf2_Type(new Type("half2", *fHalf_Type, 2)) in Context()
34 , fHalf3_Type(new Type("half3", *fHalf_Type, 3)) in Context()
35 , fHalf4_Type(new Type("half4", *fHalf_Type, 4)) in Context()
36 , fUInt_Type(new Type("uint", Type::kUnsigned_NumberKind, 1)) in Context()
37 , fUInt2_Type(new Type("uint2", *fUInt_Type, 2)) in Context()
38 , fUInt3_Type(new Type("uint3", *fUInt_Type, 3)) in Context()
39 , fUInt4_Type(new Type("uint4", *fUInt_Type, 4)) in Context()
40 , fInt_Type(new Type("int", Type::kSigned_NumberKind, 1)) in Context()
41 , fInt2_Type(new Type("int2", *fInt_Type, 2)) in Context()
42 , fInt3_Type(new Type("int3", *fInt_Type, 3)) in Context()
43 , fInt4_Type(new Type("int4", *fInt_Type, 4)) in Context()
44 , fUShort_Type(new Type("ushort", Type::kUnsigned_NumberKind, 0)) in Context()
45 , fUShort2_Type(new Type("ushort2", *fUShort_Type, 2)) in Context()
46 , fUShort3_Type(new Type("ushort3", *fUShort_Type, 3)) in Context()
47 , fUShort4_Type(new Type("ushort4", *fUShort_Type, 4)) in Context()
48 , fShort_Type(new Type("short", Type::kSigned_NumberKind, 0)) in Context()
49 , fShort2_Type(new Type("short2", *fShort_Type, 2)) in Context()
50 , fShort3_Type(new Type("short3", *fShort_Type, 3)) in Context()
51 , fShort4_Type(new Type("short4", *fShort_Type, 4)) in Context()
52 , fUByte_Type(new Type("ubyte", Type::kUnsigned_NumberKind, 0)) in Context()
53 , fUByte2_Type(new Type("ubyte2", *fUByte_Type, 2)) in Context()
54 , fUByte3_Type(new Type("ubyte3", *fUByte_Type, 3)) in Context()
55 , fUByte4_Type(new Type("ubyte4", *fUByte_Type, 4)) in Context()
56 , fByte_Type(new Type("byte", Type::kSigned_NumberKind, 0)) in Context()
57 , fByte2_Type(new Type("byte2", *fByte_Type, 2)) in Context()
58 , fByte3_Type(new Type("byte3", *fByte_Type, 3)) in Context()
59 , fByte4_Type(new Type("byte4", *fByte_Type, 4)) in Context()
60 , fBool_Type(new Type("bool", Type::kNonnumeric_NumberKind, -1)) in Context()
61 , fBool2_Type(new Type("bool2", *fBool_Type, 2)) in Context()
62 , fBool3_Type(new Type("bool3", *fBool_Type, 3)) in Context()
63 , fBool4_Type(new Type("bool4", *fBool_Type, 4)) in Context()
64 , fFloat2x2_Type(new Type("float2x2", *fFloat_Type, 2, 2)) in Context()
65 , fFloat2x3_Type(new Type("float2x3", *fFloat_Type, 2, 3)) in Context()
66 , fFloat2x4_Type(new Type("float2x4", *fFloat_Type, 2, 4)) in Context()
67 , fFloat3x2_Type(new Type("float3x2", *fFloat_Type, 3, 2)) in Context()
68 , fFloat3x3_Type(new Type("float3x3", *fFloat_Type, 3, 3)) in Context()
69 , fFloat3x4_Type(new Type("float3x4", *fFloat_Type, 3, 4)) in Context()
70 , fFloat4x2_Type(new Type("float4x2", *fFloat_Type, 4, 2)) in Context()
71 , fFloat4x3_Type(new Type("float4x3", *fFloat_Type, 4, 3)) in Context()
72 , fFloat4x4_Type(new Type("float4x4", *fFloat_Type, 4, 4)) in Context()
73 , fHalf2x2_Type(new Type("half2x2", *fHalf_Type, 2, 2)) in Context()
74 , fHalf2x3_Type(new Type("half2x3", *fHalf_Type, 2, 3)) in Context()
75 , fHalf2x4_Type(new Type("half2x4", *fHalf_Type, 2, 4)) in Context()
76 , fHalf3x2_Type(new Type("half3x2", *fHalf_Type, 3, 2)) in Context()
77 , fHalf3x3_Type(new Type("half3x3", *fHalf_Type, 3, 3)) in Context()
78 , fHalf3x4_Type(new Type("half3x4", *fHalf_Type, 3, 4)) in Context()
79 , fHalf4x2_Type(new Type("half4x2", *fHalf_Type, 4, 2)) in Context()
80 , fHalf4x3_Type(new Type("half4x3", *fHalf_Type, 4, 3)) in Context()
81 , fHalf4x4_Type(new Type("half4x4", *fHalf_Type, 4, 4)) in Context()
82 , fDouble2x2_Type(new Type("double2x2", *fDouble_Type, 2, 2)) in Context()
83 , fDouble2x3_Type(new Type("double2x3", *fDouble_Type, 2, 3)) in Context()
84 , fDouble2x4_Type(new Type("double2x4", *fDouble_Type, 2, 4)) in Context()
85 , fDouble3x2_Type(new Type("double3x2", *fDouble_Type, 3, 2)) in Context()
86 , fDouble3x3_Type(new Type("double3x3", *fDouble_Type, 3, 3)) in Context()
87 , fDouble3x4_Type(new Type("double3x4", *fDouble_Type, 3, 4)) in Context()
88 , fDouble4x2_Type(new Type("double4x2", *fDouble_Type, 4, 2)) in Context()
89 , fDouble4x3_Type(new Type("double4x3", *fDouble_Type, 4, 3)) in Context()
90 , fDouble4x4_Type(new Type("double4x4", *fDouble_Type, 4, 4)) in Context()
91 , fSampler1D_Type(new Type("sampler1D", SpvDim1D, false, false, false, true)) in Context()
92 , fSampler2D_Type(new Type("sampler2D", SpvDim2D, false, false, false, true)) in Context()
93 , fSampler3D_Type(new Type("sampler3D", SpvDim3D, false, false, false, true)) in Context()
94 , fSamplerExternalOES_Type(new Type("samplerExternalOES", SpvDim2D, false, false, in Context()
96 , fSamplerCube_Type(new Type("samplerCube", SpvDimCube, false, false, false, true)) in Context()
97 , fSampler2DRect_Type(new Type("sampler2DRect", SpvDimRect, false, false, false, true)) in Context()
98 , fSampler1DArray_Type(new Type("sampler1DArray")) in Context()
99 , fSampler2DArray_Type(new Type("sampler2DArray")) in Context()
100 , fSamplerCubeArray_Type(new Type("samplerCubeArray")) in Context()
101 , fSamplerBuffer_Type(new Type("samplerBuffer", SpvDimBuffer, false, false, false, in Context()
103 , fSampler2DMS_Type(new Type("sampler2DMS")) in Context()
104 , fSampler2DMSArray_Type(new Type("sampler2DMSArray")) in Context()
105 , fSampler1DShadow_Type(new Type("sampler1DShadow")) in Context()
106 , fSampler2DShadow_Type(new Type("sampler2DShadow")) in Context()
107 , fSamplerCubeShadow_Type(new Type("samplerCubeShadow")) in Context()
108 , fSampler2DRectShadow_Type(new Type("sampler2DRectShadow")) in Context()
109 , fSampler1DArrayShadow_Type(new Type("sampler1DArrayShadow")) in Context()
110 , fSampler2DArrayShadow_Type(new Type("sampler2DArrayShadow")) in Context()
111 , fSamplerCubeArrayShadow_Type(new Type("samplerCubeArrayShadow")) in Context()
114 , fISampler2D_Type(new Type("isampler2D", SpvDim2D, false, false, false, true)) in Context()
117 , fImage2D_Type(new Type("image2D", SpvDim2D, false, false, false, true)) in Context()
118 , fIImage2D_Type(new Type("iimage2D", SpvDim2D, false, false, false, true)) in Context()
122 , fSubpassInput_Type(new Type("subpassInput", SpvDimSubpassData, false, false, in Context()
124 , fSubpassInputMS_Type(new Type("subpassInputMS", SpvDimSubpassData, false, false, in Context()
128 , fGSampler1D_Type(new Type("$gsampler1D", static_type(*fSampler1D_Type))) in Context()
129 , fGSampler2D_Type(new Type("$gsampler2D", static_type(*fSampler2D_Type))) in Context()
130 , fGSampler3D_Type(new Type("$gsampler3D", static_type(*fSampler3D_Type))) in Context()
131 , fGSamplerCube_Type(new Type("$gsamplerCube", static_type(*fSamplerCube_Type))) in Context()
132 , fGSampler2DRect_Type(new Type("$gsampler2DRect", static_type(*fSampler2DRect_Type))) in Context()
133 , fGSampler1DArray_Type(new Type("$gsampler1DArray", in Context()
135 , fGSampler2DArray_Type(new Type("$gsampler2DArray", in Context()
137 , fGSamplerCubeArray_Type(new Type("$gsamplerCubeArray", in Context()
139 , fGSamplerBuffer_Type(new Type("$gsamplerBuffer", static_type(*fSamplerBuffer_Type))) in Context()
140 , fGSampler2DMS_Type(new Type("$gsampler2DMS", static_type(*fSampler2DMS_Type))) in Context()
141 , fGSampler2DMSArray_Type(new Type("$gsampler2DMSArray", in Context()
143 , fGSampler2DArrayShadow_Type(new Type("$gsampler2DArrayShadow", in Context()
145 , fGSamplerCubeArrayShadow_Type(new Type("$gsamplerCubeArrayShadow", in Context()
147 , fGenType_Type(new Type("$genType", { fFloat_Type.get(), fFloat2_Type.get(), in Context()
149 , fGenHType_Type(new Type("$genHType", { fHalf_Type.get(), fHalf2_Type.get(),
151 , fGenDType_Type(new Type("$genDType", { fDouble_Type.get(), fDouble2_Type.get(),
153 , fGenIType_Type(new Type("$genIType", { fInt_Type.get(), fInt2_Type.get(),
155 , fGenUType_Type(new Type("$genUType", { fUInt_Type.get(), fUInt2_Type.get(),
157 , fGenBType_Type(new Type("$genBType", { fBool_Type.get(), fBool2_Type.get(),
159 , fMat_Type(new Type("$mat", { fFloat2x2_Type.get(), fFloat2x3_Type.get(),
173 , fVec_Type(new Type("$vec", { fInvalid_Type.get(), fFloat2_Type.get(),
175 , fGVec_Type(new Type("$gvec"))
176 , fGVec2_Type(new Type("$gfloat2"))
177 , fGVec3_Type(new Type("$gfloat3"))
178 , fGVec4_Type(new Type("$gfloat4", static_type(*fFloat4_Type)))
179 , fHVec_Type(new Type("$hvec", { fInvalid_Type.get(), fHalf2_Type.get(),
181 , fDVec_Type(new Type("$dvec", { fInvalid_Type.get(), fDouble2_Type.get(),
183 , fIVec_Type(new Type("$ivec", { fInvalid_Type.get(), fInt2_Type.get(),
185 , fUVec_Type(new Type("$uvec", { fInvalid_Type.get(), fUInt2_Type.get(),
187 , fSVec_Type(new Type("$svec", { fInvalid_Type.get(), fShort2_Type.get(),
189 , fUSVec_Type(new Type("$usvec", { fInvalid_Type.get(), fUShort2_Type.get(),
191 , fByteVec_Type(new Type("$bytevec", { fInvalid_Type.get(), fByte2_Type.get(),
193 , fUByteVec_Type(new Type("$ubytevec", { fInvalid_Type.get(), fUByte2_Type.get(),
195 , fBVec_Type(new Type("$bvec", { fInvalid_Type.get(), fBool2_Type.get(),
197 , fSkCaps_Type(new Type("$sk_Caps"))
198 , fSkArgs_Type(new Type("$sk_Args"))
200 , fSkRasterPipeline_Type(new Type("SkRasterPipeline"))
201 , fDefined_Expression(new Defined(*fInvalid_Type)) {}
383 return std::unique_ptr<Expression>(new Defined(fType)); in clone()
402 return std::unique_ptr<Type>(new Type("fragmentProcessor", fields)); in fp_type()