Lines Matching refs:attribSpec
544 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
546 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
547 …attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
548 …attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storage… in init()
549 …attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
550 attribSpec.componentCount = random.getInt(1, 4); in init()
551 …attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
552 …attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init()
553 attribSpec.normalize = random.getBool(); in init()
554 …attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init()
555 attribSpec.useDefaultAttribute = random.getBool(); in init()
558 valid = attribSpec.valid(spec.apiType); in init()
561 …if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.i… in init()
567 spec.attribs.push_back(attribSpec); in init()