Lines Matching refs:attribSpec
616 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
618 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
619 …attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
620 …attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storage… in init()
621 …attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
622 attribSpec.componentCount = random.getInt(1, 4); in init()
623 …attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
624 …attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init()
625 attribSpec.normalize = random.getBool(); in init()
626 attribSpec.instanceDivisor = 0; in init()
627 attribSpec.useDefaultAttribute = random.getBool(); in init()
630 valid = attribSpec.valid(spec.apiType); in init()
633 …if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.i… in init()
639 spec.attribs.push_back(attribSpec); in init()