Home
last modified time | relevance | path

Searched refs:caseNdx (Results 1 – 25 of 41) sorted by relevance

12

/external/deqp/modules/gles2/stress/
Des2sLongRunningTests.cpp114 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
116 …const int redundantBufferFactor = cases[caseNdx].redundantBufferFactor > 0 ? cases[caseNdx].redund… in init()
119 … (string() + cases[caseNdx].name + memoryLimitCases[memoryLimitNdx].nameSuffix).c_str(), in init()
120 … (string() + cases[caseNdx].desc + memoryLimitCases[memoryLimitNdx].descSuffix).c_str(), in init()
123 contexts, cases[caseNdx].probs, in init()
181 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
183 …const int numTextures = cases[caseNdx].numTextures > 0 ? cases[caseNdx].numTextures : memo… in init()
187 … (string() + cases[caseNdx].name + memoryLimitCases[memoryLimitNdx].nameSuffix).c_str(), in init()
188 … (string() + cases[caseNdx].desc + memoryLimitCases[memoryLimitNdx].descSuffix).c_str(), in init()
191 contexts, cases[caseNdx].probs, in init()
[all …]
/external/deqp/modules/gles3/stress/
Des3sLongRunningTests.cpp114 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
116 …const int redundantBufferFactor = cases[caseNdx].redundantBufferFactor > 0 ? cases[caseNdx].redund… in init()
119 … (string() + cases[caseNdx].name + memoryLimitCases[memoryLimitNdx].nameSuffix).c_str(), in init()
120 … (string() + cases[caseNdx].desc + memoryLimitCases[memoryLimitNdx].descSuffix).c_str(), in init()
123 contexts, cases[caseNdx].probs, in init()
181 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
183 …const int numTextures = cases[caseNdx].numTextures > 0 ? cases[caseNdx].numTextures : memo… in init()
187 … (string() + cases[caseNdx].name + memoryLimitCases[memoryLimitNdx].nameSuffix).c_str(), in init()
188 … (string() + cases[caseNdx].desc + memoryLimitCases[memoryLimitNdx].descSuffix).c_str(), in init()
191 contexts, cases[caseNdx].probs, in init()
[all …]
Des3sLongShaderTests.cpp452 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(caseOpCounts); caseNdx++) in init() local
457 const deUint32 opCount = caseOpCounts[caseNdx]; in init()
/external/deqp/framework/delibs/debase/
DdeMemory.c315 int caseNdx; in deMemory_selfTest() local
317 for (caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(s_alignedAllocCases); caseNdx++) in deMemory_selfTest()
319 …d* const ptr = deAlignedMalloc(s_alignedAllocCases[caseNdx].numBytes, s_alignedAllocCases[caseNd… in deMemory_selfTest()
322 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedAllocCases[caseNdx].alignment)); in deMemory_selfTest()
324 deMemset(ptr, 0xaa, s_alignedAllocCases[caseNdx].numBytes); in deMemory_selfTest()
329 for (caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(s_alignedReallocCases); caseNdx++) in deMemory_selfTest()
331 …onst ptr = deAlignedMalloc(s_alignedReallocCases[caseNdx].initialSize, s_alignedReallocCases[cas… in deMemory_selfTest()
334 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedReallocCases[caseNdx].alignment)); in deMemory_selfTest()
336 deMemset(ptr, 0xaa, s_alignedReallocCases[caseNdx].initialSize); in deMemory_selfTest()
339 …wPtr = deAlignedRealloc(ptr, s_alignedReallocCases[caseNdx].newSize, s_alignedReallocCases[caseN… in deMemory_selfTest()
[all …]
/external/deqp/modules/gles2/functional/
Des2fScissorTests.cpp82 for(int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
86 cases[caseNdx].name, in init()
87 cases[caseNdx].desc, in init()
88 cases[caseNdx].scissor, in init()
89 cases[caseNdx].render, in init()
90 cases[caseNdx].type, in init()
91 cases[caseNdx].primitives)); in init()
Des2fTextureFilteringTests.cpp226 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
228 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in init()
229 const float lodX = cases[caseNdx].lodX; in init()
230 const float lodY = cases[caseNdx].lodY; in init()
231 const float oX = cases[caseNdx].oX; in init()
232 const float oY = cases[caseNdx].oY; in init()
/external/deqp/modules/gles3/functional/
Des3fScissorTests.cpp92 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
96 cases[caseNdx].name, in init()
97 cases[caseNdx].desc, in init()
98 cases[caseNdx].scissor, in init()
99 cases[caseNdx].render, in init()
100 cases[caseNdx].type, in init()
101 cases[caseNdx].primitives)); in init()
Des3fTextureSwizzleTests.cpp326 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(swizzleCases); caseNdx++) in init() local
328 string name = string(formats[fmtNdx].name) + "_" + swizzleCases[caseNdx].name; in init()
329 deUint32 swzR = swizzleCases[caseNdx].swzR; in init()
330 deUint32 swzG = swizzleCases[caseNdx].swzG; in init()
331 deUint32 swzB = swizzleCases[caseNdx].swzB; in init()
332 deUint32 swzA = swizzleCases[caseNdx].swzA; in init()
Des3fTextureShadowTests.cpp294 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
296 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in init()
297 const float ref = cases[caseNdx].ref; in init()
298 const float lodX = cases[caseNdx].lodX; in init()
299 const float lodY = cases[caseNdx].lodY; in init()
300 const float oX = cases[caseNdx].oX; in init()
301 const float oY = cases[caseNdx].oY; in init()
851 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
853 const glu::Texture2DArray* tex = cases[caseNdx].texNdx > 0 ? m_gridTex : m_gradientTex; in init()
854 const float ref = cases[caseNdx].ref; in init()
[all …]
Des3fShaderDerivateTests.cpp1680 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(s_linearDerivateCases); caseNdx++) in init() local
1682 …w tcu::TestCaseGroup(m_testCtx, s_linearDerivateCases[caseNdx].name, s_linearDerivateCases[caseNdx in init()
1683 const char* source = s_linearDerivateCases[caseNdx].source; in init()
1697 if (caseNdx != 0 && precision == glu::PRECISION_LOWP) in init()
1708 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(s_fboConfigs); caseNdx++) in init() local
1710 …tcu::TestCaseGroup* const fboGroup = new tcu::TestCaseGroup(m_testCtx, s_fboConfigs[caseNdx].name… in init()
1712 const SurfaceType surfaceType = s_fboConfigs[caseNdx].surfaceType; in init()
1713 const int numSamples = s_fboConfigs[caseNdx].numSamples; in init()
/external/deqp/modules/glshared/
DglsShaderConstExprTests.cpp121 for (int caseNdx = 0; caseNdx < numCases; caseNdx++) in createTests() local
124 const int minComponents = cases[caseNdx].minComponents; in createTests()
125 const int maxComponents = cases[caseNdx].maxComponents; in createTests()
126 const DataType inType = cases[caseNdx].inType; in createTests()
127 const DataType outType = cases[caseNdx].outType; in createTests()
128 const string expression = cases[caseNdx].expression; in createTests()
145 …const string caseName = string(cases[caseNdx].name) + (minComponents==maxComponents ? "" : ("… in createTests()
167 addOutputVar(&spec.values, outType, cases[caseNdx].output); in createTests()
188 addOutputVar(&spec.values, outType, cases[caseNdx].output); in createTests()
202 …const string scalarCaseName = string(cases[caseNdx].name) + "_" + typeName + "_" + glu::getDataTyp… in createTests()
[all …]
/external/deqp/modules/gles2/performance/
Des2pBlendTests.cpp163 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
164caseNdx].name, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[ in init()
Des2pTextureFilteringTests.cpp80 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
86 deUint32 minFilter = cases[caseNdx].filter; in init()
91 bool minify = cases[caseNdx].minify; in init()
92 …string name = string(cases[caseNdx].name) + (minify ? "_minify_" : "_magnify_") + texFormats[for… in init()
/external/deqp/modules/gles3/performance/
Des3pBlendTests.cpp170 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
171caseNdx].name, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[ in init()
Des3pTextureFilteringTests.cpp81 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
86 deUint32 minFilter = cases[caseNdx].filter; in init()
91 bool minify = cases[caseNdx].minify; in init()
92 …string name = string(cases[caseNdx].name) + (minify ? "_minify_" : "_magnify_") + texFormats[for… in init()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp447 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in createNoContractionGroup() local
452 specializations["DECORATION"] = cases[caseNdx].param; in createNoContractionGroup()
461 …group->addChild(new SpvAsmComputeShaderCase(testCtx, cases[caseNdx].name, cases[caseNdx].name, spe… in createNoContractionGroup()
1304 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in createSpecConstantGroup() local
1309 specializations["SC_DEF0"] = cases[caseNdx].scDefinition0; in createSpecConstantGroup()
1310 specializations["SC_DEF1"] = cases[caseNdx].scDefinition1; in createSpecConstantGroup()
1311 specializations["SC_RESULT_TYPE"] = cases[caseNdx].scResultType; in createSpecConstantGroup()
1312 specializations["SC_OP"] = cases[caseNdx].scOperation; in createSpecConstantGroup()
1313 specializations["GEN_RESULT"] = cases[caseNdx].resultOperation; in createSpecConstantGroup()
1317 spec.outputs.push_back(BufferSp(new Int32Buffer(cases[caseNdx].expectedOutput))); in createSpecConstantGroup()
[all …]
/external/deqp/modules/gles31/functional/
Des31fInternalFormatQueryTests.cpp449 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(internalFormats); ++caseNdx) in init() local
451 const std::string name = std::string(internalFormats[caseNdx].name) + "_samples"; in init()
452 const std::string desc = std::string("Verify GL_SAMPLES of ") + internalFormats[caseNdx].name; in init()
454 … name.c_str(), desc.c_str(), texTarget, internalFormats[caseNdx].format, internalFormats[caseNdx].… in init()
Des31fShaderCommonFunctionTests.cpp1281 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local
1284 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues()
1782 for (int caseNdx = 0; caseNdx < numValues; ++caseNdx) in getInputValues() local
1786 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
1862 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(easySpecialCases); caseNdx++) in getInputValues() local
1867 frexp(easySpecialCases[caseNdx], &in0, &in1); in getInputValues()
1884 for (int caseNdx = 0; caseNdx < numEasyRandomCases; caseNdx++) in getInputValues() local
1906 for (int caseNdx = 0; caseNdx < numHardRandomCases; caseNdx++) in getInputValues() local
2016 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local
2021 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues()
[all …]
Des31fFboNoAttachmentTests.cpp564 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(specs); caseNdx++) in createFboNoAttachmentTests() local
566 const FboSpec& spec = specs[caseNdx]; in createFboNoAttachmentTests()
599 for (int caseNdx = 0; caseNdx < 16; caseNdx++) in createFboNoAttachmentTests() local
605 const string name = de::toString(caseNdx); in createFboNoAttachmentTests()
Des31fUniformLocationTests.cpp839 for (int caseNdx = 0; caseNdx < 16; caseNdx++) in init() local
843 const string name = "case_" + de::toString(caseNdx); in init()
880 for (int caseNdx = 0; caseNdx < 16; caseNdx++) in init() local
884 const string name = "case_" + de::toString(caseNdx); in init()
1019 for (int caseNdx = 0; caseNdx < 10; caseNdx++) in init() local
1021 const string name = "case_" + de::toString(caseNdx); in init()
1024 vector<int> locations = shuffledRange(0, maxLocations, 0x1234 + caseNdx*100); in init()
Des31fDebugTests.cpp3129 for (int caseNdx = 0; caseNdx < de::min(caseCount, maxFilteringCaseCount); caseNdx++) in init() local
3131 const int start = caseNdx*errorFuncsPerCase; in init()
3132 const int end = de::min((caseNdx+1)*errorFuncsPerCase, int(allFuncs.size())); in init()
3133 const string name = "case_" + de::toString(caseNdx); in init()
3137 funcs.insert(funcs.end(), externalFuncs[caseNdx%externalFuncs.size()].function); in init()
3151 for (int caseNdx = 0; caseNdx < caseCount && caseNdx < maxFilteringCaseCount; caseNdx++) in init() local
3153 const int start = caseNdx*errorFuncsPerCase; in init()
3154 const int end = de::min((caseNdx+1)*errorFuncsPerCase, int(allFuncs.size())); in init()
3155 const string name = ("case_" + de::toString(caseNdx)).c_str(); in init()
3159 funcs.insert(funcs.end(), externalFuncs[caseNdx%externalFuncs.size()].function); in init()
[all …]
/external/deqp/framework/delibs/dethread/
DdeThreadTest.c679 int caseNdx; in deSingleton_selfTest() local
681 for (caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in deSingleton_selfTest()
683 int numThreads = cases[caseNdx].numThreads; in deSingleton_selfTest()
684 int initTimeMs = cases[caseNdx].initTimeMs; in deSingleton_selfTest()
685 int repeatCount = cases[caseNdx].repeatCount; in deSingleton_selfTest()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp1521 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local
1524 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues()
2047 for (int caseNdx = 0; caseNdx < numValues; ++caseNdx) in getInputValues() local
2051 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
2143 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(easySpecialCases); caseNdx++) in getInputValues() local
2148 frexp(easySpecialCases[caseNdx], &in0, &in1); in getInputValues()
2165 for (int caseNdx = 0; caseNdx < numEasyRandomCases; caseNdx++) in getInputValues() local
2187 for (int caseNdx = 0; caseNdx < numHardRandomCases; caseNdx++) in getInputValues() local
2305 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local
2310 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSwapchainTests.cpp562 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in createSwapchainTest() local
564 VkSwapchainCreateInfoKHR curParams = cases[caseNdx]; in createSwapchainTest()
571 …<< TestLog::Message << "Sub-case " << (caseNdx+1) << " / " << cases.size() << ": " << curParams <<… in createSwapchainTest()
628 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in iterate() local
630 VkSwapchainCreateInfoKHR curParams = cases[caseNdx]; in iterate()
637 … << TestLog::Message << "Sub-case " << (caseNdx+1) << " / " << cases.size() << TestLog::EndMessage; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp653 for (deUint32 caseNdx = 0; caseNdx < caseCount; caseNdx++) in createAllocationTests() local
655 const deUint32 seed = deInt32Hash(caseNdx ^ 32480); in createAllocationTests()
657 …stInstance, deUint32>(testCtx, tcu::NODETYPE_SELF_VALIDATE, de::toString(caseNdx), "Random case", … in createAllocationTests()

12