Lines Matching refs:GR_STATIC_ASSERT
81 GR_STATIC_ASSERT(0 == kVoid_GrSLType);
82 GR_STATIC_ASSERT(1 == kFloat_GrSLType);
83 GR_STATIC_ASSERT(2 == kVec2f_GrSLType);
84 GR_STATIC_ASSERT(3 == kVec3f_GrSLType);
85 GR_STATIC_ASSERT(4 == kVec4f_GrSLType);
86 GR_STATIC_ASSERT(5 == kMat33f_GrSLType);
87 GR_STATIC_ASSERT(6 == kMat44f_GrSLType);
88 GR_STATIC_ASSERT(7 == kSampler2D_GrSLType);
89 GR_STATIC_ASSERT(8 == kSamplerExternal_GrSLType);
90 GR_STATIC_ASSERT(9 == kSampler2DRect_GrSLType);
91 GR_STATIC_ASSERT(10 == kBool_GrSLType);
92 GR_STATIC_ASSERT(11 == kInt_GrSLType);
93 GR_STATIC_ASSERT(12 == kUint_GrSLType);
94 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCounts) == kGrSLTypeCount);
103 GR_STATIC_ASSERT(kFloat_GrSLType == 1);
104 GR_STATIC_ASSERT(kVec2f_GrSLType == 2);
105 GR_STATIC_ASSERT(kVec3f_GrSLType == 3);
106 GR_STATIC_ASSERT(kVec4f_GrSLType == 4);
114 GR_STATIC_ASSERT(0 == kVoid_GrSLType);
115 GR_STATIC_ASSERT(1 == kFloat_GrSLType);
116 GR_STATIC_ASSERT(2 == kVec2f_GrSLType);
117 GR_STATIC_ASSERT(3 == kVec3f_GrSLType);
118 GR_STATIC_ASSERT(4 == kVec4f_GrSLType);
119 GR_STATIC_ASSERT(5 == kMat33f_GrSLType);
120 GR_STATIC_ASSERT(6 == kMat44f_GrSLType);
121 GR_STATIC_ASSERT(7 == kSampler2D_GrSLType);
122 GR_STATIC_ASSERT(8 == kSamplerExternal_GrSLType);
123 GR_STATIC_ASSERT(9 == kSampler2DRect_GrSLType);
124 GR_STATIC_ASSERT(10 == kBool_GrSLType);
125 GR_STATIC_ASSERT(11 == kInt_GrSLType);
126 GR_STATIC_ASSERT(12 == kUint_GrSLType);
127 GR_STATIC_ASSERT(13 == kGrSLTypeCount);
135 GR_STATIC_ASSERT(0 == kVoid_GrSLType);
136 GR_STATIC_ASSERT(1 == kFloat_GrSLType);
137 GR_STATIC_ASSERT(2 == kVec2f_GrSLType);
138 GR_STATIC_ASSERT(3 == kVec3f_GrSLType);
139 GR_STATIC_ASSERT(4 == kVec4f_GrSLType);
140 GR_STATIC_ASSERT(5 == kMat33f_GrSLType);
141 GR_STATIC_ASSERT(6 == kMat44f_GrSLType);
142 GR_STATIC_ASSERT(7 == kSampler2D_GrSLType);
143 GR_STATIC_ASSERT(8 == kSamplerExternal_GrSLType);
144 GR_STATIC_ASSERT(9 == kSampler2DRect_GrSLType);
145 GR_STATIC_ASSERT(10 == kBool_GrSLType);
146 GR_STATIC_ASSERT(11 == kInt_GrSLType);
147 GR_STATIC_ASSERT(12 == kUint_GrSLType);
148 GR_STATIC_ASSERT(13 == kGrSLTypeCount);
176 GR_STATIC_ASSERT(0 == kVoid_GrSLType);
177 GR_STATIC_ASSERT(1 == kFloat_GrSLType);
178 GR_STATIC_ASSERT(2 == kVec2f_GrSLType);
179 GR_STATIC_ASSERT(3 == kVec3f_GrSLType);
180 GR_STATIC_ASSERT(4 == kVec4f_GrSLType);
181 GR_STATIC_ASSERT(5 == kMat33f_GrSLType);
182 GR_STATIC_ASSERT(6 == kMat44f_GrSLType);
183 GR_STATIC_ASSERT(7 == kSampler2D_GrSLType);
184 GR_STATIC_ASSERT(8 == kSamplerExternal_GrSLType);
185 GR_STATIC_ASSERT(9 == kSampler2DRect_GrSLType);
186 GR_STATIC_ASSERT(10 == kBool_GrSLType);
187 GR_STATIC_ASSERT(11 == kInt_GrSLType);
188 GR_STATIC_ASSERT(12 == kUint_GrSLType);
189 GR_STATIC_ASSERT(13 == kGrSLTypeCount);
196 GR_STATIC_ASSERT(7 == kSampler2D_GrSLType);
197 GR_STATIC_ASSERT(8 == kSamplerExternal_GrSLType);
198 GR_STATIC_ASSERT(9 == kSampler2DRect_GrSLType);
232 GR_STATIC_ASSERT(0 == kFloat_GrVertexAttribType);
233 GR_STATIC_ASSERT(1 == kVec2f_GrVertexAttribType);
234 GR_STATIC_ASSERT(2 == kVec3f_GrVertexAttribType);
235 GR_STATIC_ASSERT(3 == kVec4f_GrVertexAttribType);
236 GR_STATIC_ASSERT(4 == kUByte_GrVertexAttribType);
237 GR_STATIC_ASSERT(5 == kVec4ub_GrVertexAttribType);
238 GR_STATIC_ASSERT(6 == kVec2us_GrVertexAttribType);
239 GR_STATIC_ASSERT(7 == kInt_GrVertexAttribType);
240 GR_STATIC_ASSERT(8 == kUint_GrVertexAttribType);
241 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCounts) == kGrVertexAttribTypeCount);
261 GR_STATIC_ASSERT(0 == kFloat_GrVertexAttribType);
262 GR_STATIC_ASSERT(1 == kVec2f_GrVertexAttribType);
263 GR_STATIC_ASSERT(2 == kVec3f_GrVertexAttribType);
264 GR_STATIC_ASSERT(3 == kVec4f_GrVertexAttribType);
265 GR_STATIC_ASSERT(4 == kUByte_GrVertexAttribType);
266 GR_STATIC_ASSERT(5 == kVec4ub_GrVertexAttribType);
267 GR_STATIC_ASSERT(6 == kVec2us_GrVertexAttribType);
268 GR_STATIC_ASSERT(7 == kInt_GrVertexAttribType);
269 GR_STATIC_ASSERT(8 == kUint_GrVertexAttribType);
270 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kSizes) == kGrVertexAttribTypeCount);
280 GR_STATIC_ASSERT(0 == kFloat_GrVertexAttribType);
281 GR_STATIC_ASSERT(1 == kVec2f_GrVertexAttribType);
282 GR_STATIC_ASSERT(2 == kVec3f_GrVertexAttribType);
283 GR_STATIC_ASSERT(3 == kVec4f_GrVertexAttribType);
284 GR_STATIC_ASSERT(4 == kUByte_GrVertexAttribType);
285 GR_STATIC_ASSERT(5 == kVec4ub_GrVertexAttribType);
286 GR_STATIC_ASSERT(6 == kVec2us_GrVertexAttribType);
287 GR_STATIC_ASSERT(7 == kInt_GrVertexAttribType);
288 GR_STATIC_ASSERT(8 == kUint_GrVertexAttribType);
289 GR_STATIC_ASSERT(9 == kGrVertexAttribTypeCount);