Home
last modified time | relevance | path

Searched refs:attribSpec (Results 1 – 7 of 7) sorted by relevance

/external/deqp/modules/gles2/stress/
Des2sDrawTests.cpp330 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
332attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
333attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
334attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storage… in init()
335attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
336 attribSpec.componentCount = random.getInt(1, 4); in init()
337attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
338attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init()
339 attribSpec.normalize = random.getBool(); in init()
340 attribSpec.instanceDivisor = 0; in init()
[all …]
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp478 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
480attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
481attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
482 attribSpec.storage = gls::DrawTestSpec::STORAGE_BUFFER; in init()
483attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
484 attribSpec.componentCount = random.getInt(1, 4); in init()
485attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
486attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init()
487 attribSpec.normalize = random.getBool(); in init()
488attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init()
[all …]
/external/deqp/modules/gles3/stress/
Des3sDrawTests.cpp544 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
546attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
547attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
548attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storage… in init()
549attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
550 attribSpec.componentCount = random.getInt(1, 4); in init()
551attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
552attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init()
553 attribSpec.normalize = random.getBool(); in init()
554attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init()
[all …]
/external/deqp/modules/glshared/
DglsDrawTest.cpp3193 DrawTestSpec::AttributeSpec attribSpec = spec.attribs[attribNdx]; in iterate() local
3194 const bool isPositionAttr = (attribNdx == 0) || (attribSpec.additionalPositionAttribute); in iterate()
3196 if (attribSpec.useDefaultAttribute) in iterate()
3198 const int seed = 10 * attribSpec.hash() + 100 * spec.hash() + attribNdx; in iterate()
3199 …rr::GenericVec4 attribValue = RandomArrayGenerator::generateAttributeValue(seed, attribSpec.inputT… in iterate()
3204 …ack->getArray(attribNdx)->setupArray(false, 0, attribSpec.componentCount, attribSpec.inputType, at… in iterate()
3205 …ack->getArray(attribNdx)->setupArray(false, 0, attribSpec.componentCount, attribSpec.inputType, at… in iterate()
3209 const int seed = attribSpec.hash() + 100 * spec.hash() + attribNdx; in iterate()
3210 …const size_t elementSize = attribSpec.componentCount * DrawTestSpec::inputTypeSize(attribSpe… in iterate()
3211 const size_t stride = (attribSpec.stride == 0) ? (elementSize) : (attribSpec.stride); in iterate()
[all …]
/external/deqp/modules/gles2/functional/
Des2fDrawTests.cpp616 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
618attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
619attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
620attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storage… in init()
621attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
622 attribSpec.componentCount = random.getInt(1, 4); in init()
623attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
624attribSpec.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()
[all …]
/external/deqp/modules/gles3/functional/
Des3fDrawTests.cpp1051 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
1053attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
1054attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
1055attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storage… in init()
1056attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
1057 attribSpec.componentCount = random.getInt(1, 4); in init()
1058attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
1059attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init()
1060 attribSpec.normalize = random.getBool(); in init()
1061attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init()
[all …]
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp2182 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
2184attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
2185attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
2186 attribSpec.storage = gls::DrawTestSpec::STORAGE_BUFFER; in init()
2187attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
2188 attribSpec.componentCount = random.getInt(1, 4); in init()
2189attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
2190attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init()
2191 attribSpec.normalize = random.getBool(); in init()
2192attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init()
[all …]