• Home
  • Raw
  • Download

Lines Matching refs:attribs

85 	spec.attribs.resize(2);  in genBasicSpec()
87 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec()
88 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec()
89 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec()
90 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec()
91 spec.attribs[0].componentCount = 4; in genBasicSpec()
92 spec.attribs[0].offset = 0; in genBasicSpec()
93 spec.attribs[0].stride = 0; in genBasicSpec()
94 spec.attribs[0].normalize = false; in genBasicSpec()
95 spec.attribs[0].instanceDivisor = 0; in genBasicSpec()
96 spec.attribs[0].useDefaultAttribute = false; in genBasicSpec()
98 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec()
99 spec.attribs[1].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec()
100 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec()
101 spec.attribs[1].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec()
102 spec.attribs[1].componentCount = 2; in genBasicSpec()
103 spec.attribs[1].offset = 0; in genBasicSpec()
104 spec.attribs[1].stride = 0; in genBasicSpec()
105 spec.attribs[1].normalize = false; in genBasicSpec()
106 spec.attribs[1].instanceDivisor = 0; in genBasicSpec()
107 spec.attribs[1].useDefaultAttribute = false; in genBasicSpec()
158 spec.attribs.resize(1); in init()
160 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init()
161 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in init()
162 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init()
163 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init()
164 spec.attribs[0].componentCount = 2; in init()
165 spec.attribs[0].offset = 0; in init()
166 spec.attribs[0].stride = 0; in init()
167 spec.attribs[0].normalize = false; in init()
168 spec.attribs[0].instanceDivisor = 0; in init()
169 spec.attribs[0].useDefaultAttribute = false; in init()
193 spec.attribs.resize(2); in init()
195 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init()
196 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in init()
197 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init()
198 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init()
199 spec.attribs[0].componentCount = 4; in init()
200 spec.attribs[0].offset = 0; in init()
201 spec.attribs[0].stride = 0; in init()
202 spec.attribs[0].normalize = false; in init()
203 spec.attribs[0].instanceDivisor = 0; in init()
204 spec.attribs[0].useDefaultAttribute = false; in init()
206 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init()
207 spec.attribs[1].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in init()
208 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init()
209 spec.attribs[1].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init()
210 spec.attribs[1].componentCount = 2; in init()
211 spec.attribs[1].offset = 0; in init()
212 spec.attribs[1].stride = 0; in init()
213 spec.attribs[1].normalize = false; in init()
214 spec.attribs[1].instanceDivisor = 0; in init()
215 spec.attribs[1].useDefaultAttribute = false; in init()
239 spec.attribs.resize(2); in init()
241 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init()
242 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in init()
243 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init()
244 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init()
245 spec.attribs[0].componentCount = 2; in init()
246 spec.attribs[0].offset = 0; in init()
247 spec.attribs[0].stride = 0; in init()
248 spec.attribs[0].normalize = false; in init()
249 spec.attribs[0].instanceDivisor = 0; in init()
250 spec.attribs[0].useDefaultAttribute = false; in init()
267 spec.attribs[1].inputType = iopairs[ioNdx].input; in init()
268 spec.attribs[1].outputType = iopairs[ioNdx].output; in init()
269 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init()
270 spec.attribs[1].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init()
271 spec.attribs[1].componentCount = iopairs[ioNdx].componentCount; in init()
272 spec.attribs[1].offset = 0; in init()
273 spec.attribs[1].stride = 0; in init()
274 spec.attribs[1].normalize = false; in init()
275 spec.attribs[1].instanceDivisor = 0; in init()
276 spec.attribs[1].useDefaultAttribute = true; in init()
639 spec.attribs.push_back(attribSpec); in init()
646 spec.attribs[0].instanceDivisor = 0; in init()
653 if (spec.attribs[0].useDefaultAttribute && spec.primitive != gls::DrawTestSpec::PRIMITIVE_POINTS) in init()
659 if (spec.attribs[0].componentCount == 1) in init()
661 …spec.attribs[0].outputType == gls::DrawTestSpec::OUTPUTTYPE_FLOAT || spec.attribs[0].outputType ==… in init()
672 hash = (hash << 2) ^ (deUint32)spec.attribs[attrNdx].hash(); in init()