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/
H A Des2sDrawTests.cpp330 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
332 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights); in init()
333 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights); in init()
334 attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights); in init()
335 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights); in init()
336 attribSpec.componentCount = random.getInt(1, 4); in init()
337 attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets), DE_ARRAY_END(offsets), offsetWeights); in init()
338 attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides), DE_ARRAY_END(strides), strideWeights); in init()
339 attribSpec.normalize = random.getBool(); in init()
340 attribSpec in init()
[all...]
/third_party/vk-gl-cts/modules/gles31/stress/
H A Des31sDrawTests.cpp478 gls::DrawTestSpec::AttributeSpec attribSpec;
480 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights);
481 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights);
482 attribSpec.storage = gls::DrawTestSpec::STORAGE_BUFFER;
483 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
484 attribSpec.componentCount = random.getInt(1, 4);
485 attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets), DE_ARRAY_END(offsets), offsetWeights);
486 attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides), DE_ARRAY_END(strides), strideWeights);
487 attribSpec.normalize = random.getBool();
488 attribSpec
[all...]
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sDrawTests.cpp544 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
546 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights); in init()
547 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights); in init()
548 attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights); in init()
549 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights); 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), DE_ARRAY_END(offsets), offsetWeights); in init()
552 attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides), DE_ARRAY_END(strides), strideWeights); in init()
553 attribSpec.normalize = random.getBool(); in init()
554 attribSpec in init()
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDrawTests.cpp616 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
618 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights); in init()
619 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights); in init()
620 attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights); in init()
621 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights); 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), DE_ARRAY_END(offsets), offsetWeights); in init()
624 attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides), DE_ARRAY_END(strides), strideWeights); in init()
625 attribSpec.normalize = random.getBool(); in init()
626 attribSpec in init()
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsDrawTest.cpp3229 DrawTestSpec::AttributeSpec attribSpec = spec.attribs[attribNdx]; in iterate() local
3230 const bool isPositionAttr = (attribNdx == 0) || (attribSpec.additionalPositionAttribute); in iterate()
3232 if (attribSpec.useDefaultAttribute) in iterate()
3234 const int seed = 10 * attribSpec.hash() + 100 * spec.hash() + attribNdx; in iterate()
3235 rr::GenericVec4 attribValue = RandomArrayGenerator::generateAttributeValue(seed, attribSpec.inputType); in iterate()
3240 m_glArrayPack->getArray(attribNdx)->setupArray(false, 0, attribSpec.componentCount, attribSpec.inputType, attribSpec.outputType, false, 0, 0, attribValue, isPositionAttr, false); in iterate()
3241 m_rrArrayPack->getArray(attribNdx)->setupArray(false, 0, attribSpec.componentCount, attribSpec in iterate()
3793 DrawTestSpec::AttributeSpec attribSpec = spec.attribs[arrayNdx]; getCoordScale() local
3838 DrawTestSpec::AttributeSpec attribSpec = spec.attribs[arrayNdx]; getColorScale() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDrawTests.cpp1051 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local
1053 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights); in init()
1054 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights); in init()
1055 attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights); in init()
1056 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights); in init()
1057 attribSpec.componentCount = random.getInt(1, 4); in init()
1058 attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets), DE_ARRAY_END(offsets), offsetWeights); in init()
1059 attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides), DE_ARRAY_END(strides), strideWeights); in init()
1060 attribSpec.normalize = random.getBool(); in init()
1061 attribSpec in init()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fDrawTests.cpp2189 gls::DrawTestSpec::AttributeSpec attribSpec;
2191 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights);
2192 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights);
2193 attribSpec.storage = gls::DrawTestSpec::STORAGE_BUFFER;
2194 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
2195 attribSpec.componentCount = random.getInt(1, 4);
2196 attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets), DE_ARRAY_END(offsets), offsetWeights);
2197 attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides), DE_ARRAY_END(strides), strideWeights);
2198 attribSpec.normalize = random.getBool();
2199 attribSpec
[all...]

Completed in 15 milliseconds