Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/modules/glshared/
DglsDrawTest.cpp3197 DrawTestSpec::AttributeSpec attribSpec = spec.attribs[attribNdx]; in iterate() local
3198 const bool isPositionAttr = (attribNdx == 0) || (attribSpec.additionalPositionAttribute); in iterate()
3200 if (attribSpec.useDefaultAttribute) in iterate()
3202 const int seed = 10 * attribSpec.hash() + 100 * spec.hash() + attribNdx; in iterate()
3203 …rr::GenericVec4 attribValue = RandomArrayGenerator::generateAttributeValue(seed, attribSpec.inputT… in iterate()
3208 …ack->getArray(attribNdx)->setupArray(false, 0, attribSpec.componentCount, attribSpec.inputType, at… in iterate()
3209 …ack->getArray(attribNdx)->setupArray(false, 0, attribSpec.componentCount, attribSpec.inputType, at… in iterate()
3213 const int seed = attribSpec.hash() + 100 * spec.hash() + attribNdx; in iterate()
3214 …const size_t elementSize = attribSpec.componentCount * DrawTestSpec::inputTypeSize(attribSpe… in iterate()
3215 const size_t stride = (attribSpec.stride == 0) ? (elementSize) : (attribSpec.stride); in iterate()
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawTests.cpp2189 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
2191attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init()
2192attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init()
2193 attribSpec.storage = gls::DrawTestSpec::STORAGE_BUFFER; in init()
2194attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init()
2195 attribSpec.componentCount = random.getInt(1, 4); in init()
2196attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init()
2197attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init()
2198 attribSpec.normalize = random.getBool(); in init()
2199attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init()
[all …]