/external/deqp/modules/gles2/stress/ |
D | es2sDrawTests.cpp | 330 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local 332 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init() 333 …attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init() 334 …attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storage… in init() 335 …attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … 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… in init() 338 …attribSpec.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/ |
D | es31sDrawTests.cpp | 478 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local 480 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init() 481 …attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init() 482 attribSpec.storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 483 …attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init() 484 attribSpec.componentCount = random.getInt(1, 4); in init() 485 …attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init() 486 …attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init() 487 attribSpec.normalize = random.getBool(); in init() 488 …attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init() [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sDrawTests.cpp | 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() [all …]
|
/external/deqp/modules/glshared/ |
D | glsDrawTest.cpp | 3208 DrawTestSpec::AttributeSpec attribSpec = spec.attribs[attribNdx]; in iterate() local 3209 const bool isPositionAttr = (attribNdx == 0) || (attribSpec.additionalPositionAttribute); in iterate() 3211 if (attribSpec.useDefaultAttribute) in iterate() 3213 const int seed = 10 * attribSpec.hash() + 100 * spec.hash() + attribNdx; in iterate() 3214 …rr::GenericVec4 attribValue = RandomArrayGenerator::generateAttributeValue(seed, attribSpec.inputT… in iterate() 3219 …ack->getArray(attribNdx)->setupArray(false, 0, attribSpec.componentCount, attribSpec.inputType, at… in iterate() 3220 …ack->getArray(attribNdx)->setupArray(false, 0, attribSpec.componentCount, attribSpec.inputType, at… in iterate() 3224 const int seed = attribSpec.hash() + 100 * spec.hash() + attribNdx; in iterate() 3225 …const size_t elementSize = attribSpec.componentCount * DrawTestSpec::inputTypeSize(attribSpe… in iterate() 3226 const size_t stride = (attribSpec.stride == 0) ? (elementSize) : (attribSpec.stride); in iterate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fDrawTests.cpp | 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() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fDrawTests.cpp | 1051 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local 1053 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init() 1054 …attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init() 1055 …attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storage… in init() 1056 …attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … 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… in init() 1059 …attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init() 1060 attribSpec.normalize = random.getBool(); in init() 1061 …attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawTests.cpp | 2183 gls::DrawTestSpec::AttributeSpec attribSpec; in init() local 2185 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init() 2186 …attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init() 2187 attribSpec.storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 2188 …attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), … in init() 2189 attribSpec.componentCount = random.getInt(1, 4); in init() 2190 …attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets… in init() 2191 …attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides… in init() 2192 attribSpec.normalize = random.getBool(); in init() 2193 …attribSpec.instanceDivisor = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(… in init() [all …]
|