Lines Matching refs:attribSpec
478 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
480 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
481 …attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
482 attribSpec.storage = gls::DrawTestSpec::STORAGE_BUFFER; in init()
483 …attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
484 attribSpec.componentCount = random.getInt(1, 4); in init()
485 …attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
486 …attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init()
487 attribSpec.normalize = random.getBool(); in init()
488 …attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init()
489 attribSpec.useDefaultAttribute = random.getBool(); in init()
492 valid = attribSpec.valid(spec.apiType); in init()
495 …if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.i… in init()
501 spec.attribs.push_back(attribSpec); in init()