Home
last modified time | relevance | path

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

123

/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 …]
/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()
/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.cpp327 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(swizzleCases); caseNdx++) in init() local
329 string name = string(formats[fmtNdx].name) + "_" + swizzleCases[caseNdx].name; in init()
330 deUint32 swzR = swizzleCases[caseNdx].swzR; in init()
331 deUint32 swzG = swizzleCases[caseNdx].swzG; in init()
332 deUint32 swzB = swizzleCases[caseNdx].swzB; in init()
333 deUint32 swzA = swizzleCases[caseNdx].swzA; in init()
Des3fTextureShadowTests.cpp296 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
298 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in init()
299 const float ref = cases[caseNdx].ref; in init()
300 const float lodX = cases[caseNdx].lodX; in init()
301 const float lodY = cases[caseNdx].lodY; in init()
302 const float oX = cases[caseNdx].oX; in init()
303 const float oY = cases[caseNdx].oY; in init()
853 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local
855 const glu::Texture2DArray* tex = cases[caseNdx].texNdx > 0 ? m_gridTex : m_gradientTex; in init()
856 const float ref = cases[caseNdx].ref; in init()
[all …]
/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/tessellation/
DvktTessellationShaderInputOutputTests.cpp959 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(patchVertexCountCases); caseNdx++) in createShaderInputOutputTests() local
961 const int inSize = patchVertexCountCases[caseNdx].inPatchSize; in createShaderInputOutputTests()
962 const int outSize = patchVertexCountCases[caseNdx].outPatchSize; in createShaderInputOutputTests()
991 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in createShaderInputOutputTests() local
992 addFunctionCaseWithPrograms(group.get(), cases[caseNdx].caseName, cases[caseNdx].caseDescription, in createShaderInputOutputTests()
993 PerPatchData::initPrograms, PerPatchData::test, cases[caseNdx]); in createShaderInputOutputTests()
1009 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in createShaderInputOutputTests() local
1010 …addFunctionCaseWithPrograms(group.get(), cases[caseNdx].caseName, "Pass gl_Position between VS and… in createShaderInputOutputTests()
1011 GLPosition::initPrograms, GLPosition::test, cases[caseNdx].type); in createShaderInputOutputTests()
1043 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(caseTypes); ++caseNdx) in createShaderInputOutputTests() local
[all …]
DvktTessellationWindingTests.cpp484 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(testCases); ++caseNdx) in iterate() local
486 const Winding frontFaceWinding = testCases[caseNdx].frontFaceWinding; in iterate()
496 …const VkImageLayout currentLayout = (caseNdx == 0 ? VK_IMAGE_LAYOUT_UNDEFINED : VK_IMAGE_LAYOUT_TR… in iterate()
497 …const VkAccessFlags srcFlags = (caseNdx == 0 ? (VkAccessFlags)0 : (VkAccessFlags)VK_ACC… in iterate()
530 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, testCases[caseNdx].pipeline); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp448 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in testPrimitivesInside() local
450 log << tcu::TestLog::Message << cases[caseNdx].desc << tcu::TestLog::EndMessage; in testPrimitivesInside()
452 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0… in testPrimitivesInside()
502 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in testPrimitivesOutside() local
504 log << tcu::TestLog::Message << cases[caseNdx].desc << tcu::TestLog::EndMessage; in testPrimitivesOutside()
506 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0… in testPrimitivesOutside()
586 for (int caseNdx = 0; caseNdx < numCases; ++caseNdx) in testPrimitivesDepthClamp() local
588 log << tcu::TestLog::Message << cases[caseNdx].desc << tcu::TestLog::EndMessage; in testPrimitivesDepthClamp()
590 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0… in testPrimitivesDepthClamp()
595 drawState.depthClampEnable = cases[caseNdx].depthClampEnable; in testPrimitivesDepthClamp()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureShadowTests.cpp295 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in Texture2DShadowTestInstance() local
297 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in Texture2DShadowTestInstance()
298 const float ref = cases[caseNdx].ref; in Texture2DShadowTestInstance()
299 const float lodX = cases[caseNdx].lodX; in Texture2DShadowTestInstance()
300 const float lodY = cases[caseNdx].lodY; in Texture2DShadowTestInstance()
301 const float oX = cases[caseNdx].oX; in Texture2DShadowTestInstance()
302 const float oY = cases[caseNdx].oY; in Texture2DShadowTestInstance()
725 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in Texture2DArrayShadowTestInstance() local
727 const int tex = cases[caseNdx].texNdx > 0 ? 1 : 0; in Texture2DArrayShadowTestInstance()
728 const float ref = cases[caseNdx].ref; in Texture2DArrayShadowTestInstance()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesQueueBindSparseTests.cpp366 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in populateTestGroup() local
367 …rseQueueBindTest(group->getTestContext(), cases[caseNdx].name, cases[caseNdx].description, cases[c… in populateTestGroup()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp507 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in createOpFUnordGroup() local
516 specializations["OPCODE"] = cases[caseNdx].opCode; in createOpFUnordGroup()
531 …loats1[ndx]).isNaN() || tcu::Float32(inputFloats2[ndx]).isNaN() || cases[caseNdx].compareFunc(inpu… in createOpFUnordGroup()
544 …group->addChild(new SpvAsmComputeShaderCase(testCtx, cases[caseNdx].name, cases[caseNdx].name, spe… in createOpFUnordGroup()
670 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in createOpAtomicGroup() local
675 vector<deInt32> expected (cases[caseNdx].numOutputElements, -1); in createOpAtomicGroup()
677 specializations["INDEX"] = (cases[caseNdx].numOutputElements == 1) ? "%zero" : "%x"; in createOpAtomicGroup()
678 specializations["INSTRUCTION"] = cases[caseNdx].assembly; in createOpAtomicGroup()
699 + std::string(cases[caseNdx].retValAssembly); in createOpAtomicGroup()
716 …ush_back(BufferSp(new OpAtomicBuffer(numElements, cases[caseNdx].numOutputElements, cases[caseNdx]… in createOpAtomicGroup()
[all …]
DvktSpvAsm16bitStorageTests.cpp3732 for (deUint32 caseNdx = 0; caseNdx < numDataPoints / numPerCase; ++caseNdx) in addGraphics16BitStorageInputOutputFloat32To16Group() local
3734 …string testName = string(cases[caseIdx].name) + numberToString(caseNdx) + "_" + rndModes[rndModeI… in addGraphics16BitStorageInputOutputFloat32To16Group()
3738 subInputs[numNdx] = float32Data[caseNdx * numPerCase + numNdx]; in addGraphics16BitStorageInputOutputFloat32To16Group()
3848 for (deUint32 caseNdx = 0; caseNdx < numDataPoints / numPerCase; ++caseNdx) in addGraphics16BitStorageInputOutputFloat16To32Group() local
3850 string testName = string(cases[caseIdx].name) + numberToString(caseNdx); in addGraphics16BitStorageInputOutputFloat16To32Group()
3854 subInputs[numNdx] = float16Data[caseNdx * numPerCase + numNdx]; in addGraphics16BitStorageInputOutputFloat16To32Group()
3855 subOutputs[numNdx] = float32Data[caseNdx * numPerCase + numNdx]; in addGraphics16BitStorageInputOutputFloat16To32Group()
3956 for (deUint32 caseNdx = 0; caseNdx < numDataPoints / numPerCase; ++caseNdx) in addGraphics16BitStorageInputOutputFloat16To16Group() local
3958 string testName = string(cases[caseIdx].name) + numberToString(caseNdx); in addGraphics16BitStorageInputOutputFloat16To16Group()
3961 subInputsOutputs[numNdx] = float16Data[caseNdx * numPerCase + numNdx]; in addGraphics16BitStorageInputOutputFloat16To16Group()
[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
2019 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local
2024 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues()
[all …]
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()
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()
/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.cpp1501 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local
1504 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues()
2023 for (int caseNdx = 0; caseNdx < numValues; ++caseNdx) in getInputValues() local
2027 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
2118 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(easySpecialCases); caseNdx++) in getInputValues() local
2123 frexp(easySpecialCases[caseNdx], &in0, &in1); in getInputValues()
2140 for (int caseNdx = 0; caseNdx < numEasyRandomCases; caseNdx++) in getInputValues() local
2162 for (int caseNdx = 0; caseNdx < numHardRandomCases; caseNdx++) in getInputValues() local
2279 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local
2284 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues()
[all …]

123