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 …]
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.c319 int caseNdx; in deMemory_selfTest() local
321 for (caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(s_alignedAllocCases); caseNdx++) in deMemory_selfTest()
323 …d* const ptr = deAlignedMalloc(s_alignedAllocCases[caseNdx].numBytes, s_alignedAllocCases[caseNd… in deMemory_selfTest()
326 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedAllocCases[caseNdx].alignment)); in deMemory_selfTest()
328 deMemset(ptr, 0xaa, s_alignedAllocCases[caseNdx].numBytes); in deMemory_selfTest()
333 for (caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(s_alignedReallocCases); caseNdx++) in deMemory_selfTest()
335 …onst ptr = deAlignedMalloc(s_alignedReallocCases[caseNdx].initialSize, s_alignedReallocCases[cas… in deMemory_selfTest()
338 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedReallocCases[caseNdx].alignment)); in deMemory_selfTest()
340 deMemset(ptr, 0xaa, s_alignedReallocCases[caseNdx].initialSize); in deMemory_selfTest()
343 …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/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, … in testPrimitivesInside()
504 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in testPrimitivesOutside() local
506 log << tcu::TestLog::Message << cases[caseNdx].desc << tcu::TestLog::EndMessage; in testPrimitivesOutside()
508 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, … in testPrimitivesOutside()
594 for (int caseNdx = 0; caseNdx < numCases; ++caseNdx) in testPrimitivesDepthClamp() local
596 log << tcu::TestLog::Message << cases[caseNdx].desc << tcu::TestLog::EndMessage; in testPrimitivesDepthClamp()
598 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, … in testPrimitivesDepthClamp()
601 pipelineState.depthClampEnable = cases[caseNdx].depthClampEnable; in testPrimitivesDepthClamp()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationShaderInputOutputTests.cpp961 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(patchVertexCountCases); caseNdx++) in createShaderInputOutputTests() local
963 const int inSize = patchVertexCountCases[caseNdx].inPatchSize; in createShaderInputOutputTests()
964 const int outSize = patchVertexCountCases[caseNdx].outPatchSize; in createShaderInputOutputTests()
993 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in createShaderInputOutputTests() local
994 addFunctionCaseWithPrograms(group.get(), cases[caseNdx].caseName, cases[caseNdx].caseDescription, in createShaderInputOutputTests()
995 PerPatchData::initPrograms, PerPatchData::test, cases[caseNdx]); in createShaderInputOutputTests()
1011 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in createShaderInputOutputTests() local
1012 …addFunctionCaseWithPrograms(group.get(), cases[caseNdx].caseName, "Pass gl_Position between VS and… in createShaderInputOutputTests()
1013 GLPosition::initPrograms, GLPosition::test, cases[caseNdx].type); in createShaderInputOutputTests()
1045 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/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/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/spirv_assembly/
DvktSpvAsmInstructionTests.cpp1266 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in createOpFUnordGroup() local
1275 specializations["OPCODE"] = cases[caseNdx].opCode; in createOpFUnordGroup()
1290 …loats1[ndx]).isNaN() || tcu::Float32(inputFloats2[ndx]).isNaN() || cases[caseNdx].compareFunc(inpu… in createOpFUnordGroup()
1305 …group->addChild(new SpvAsmComputeShaderCase(testCtx, cases[caseNdx].name, cases[caseNdx].name, spe… in createOpFUnordGroup()
1436 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in createOpAtomicGroup() local
1441 vector<deInt32> expected (cases[caseNdx].numOutputElements, -1); in createOpAtomicGroup()
1458 specializations["INDEX"] = (cases[caseNdx].numOutputElements == 1) ? "%zero" : "%x"; in createOpAtomicGroup()
1459 specializations["INSTRUCTION"] = cases[caseNdx].assembly; in createOpAtomicGroup()
1480 + std::string(cases[caseNdx].retValAssembly); in createOpAtomicGroup()
1501 …ush_back(BufferSp(new OpAtomicBuffer(numElements, cases[caseNdx].numOutputElements, cases[caseNdx]… in createOpAtomicGroup()
[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/modules/gles31/functional/
Des31fInternalFormatQueryTests.cpp453 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(internalFormats); ++caseNdx) in init() local
455 const std::string name = std::string(internalFormats[caseNdx].name) + "_samples"; in init()
456 const std::string desc = std::string("Verify GL_SAMPLES of ") + internalFormats[caseNdx].name; in init()
458 … name.c_str(), desc.c_str(), texTarget, internalFormats[caseNdx].format, internalFormats[caseNdx].… in init()
Des31fShaderCommonFunctionTests.cpp1241 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local
1244 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx]; in getInputValues()
1742 for (int caseNdx = 0; caseNdx < numValues; ++caseNdx) in getInputValues() local
1746 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
1822 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(easySpecialCases); caseNdx++) in getInputValues() local
1827 frexp(easySpecialCases[caseNdx], &in0, &in1); in getInputValues()
1844 for (int caseNdx = 0; caseNdx < numEasyRandomCases; caseNdx++) in getInputValues() local
1866 for (int caseNdx = 0; caseNdx < numHardRandomCases; caseNdx++) in getInputValues() local
1980 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local
1985 ((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()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleMixedAttachmentSamplesTests.cpp1937 for (deUint32 caseNdx = 0u; caseNdx < DE_LENGTH_OF_ARRAY(singlePassCases); ++caseNdx) in createMixedAttachmentSamplesTestsInGroup() local
1940 samples.numColorSamples = singlePassCases[caseNdx].colorSamples; in createMixedAttachmentSamplesTestsInGroup()
1941 samples.numDepthStencilSamples = singlePassCases[caseNdx].depthStencilSamples; in createMixedAttachmentSamplesTestsInGroup()
1970 for (deUint32 caseNdx = 0u; caseNdx < DE_LENGTH_OF_ARRAY(subpassCases); ++caseNdx) in createMixedAttachmentSamplesTestsInGroup() local
1975 for (deUint32 subpassNdx = 0; subpassNdx < subpassCases[caseNdx].numSampleCases; ++subpassNdx) in createMixedAttachmentSamplesTestsInGroup()
1978 samples.numColorSamples = subpassCases[caseNdx].pSampleCase[subpassNdx].colorSamples; in createMixedAttachmentSamplesTestsInGroup()
1979 …samples.numDepthStencilSamples = subpassCases[caseNdx].pSampleCase[subpassNdx].depthStencilSampl… in createMixedAttachmentSamplesTestsInGroup()
1984 …CaseGroup(new tcu::TestCaseGroup(rootGroup->getTestContext(), subpassCases[caseNdx].caseName, "")); in createMixedAttachmentSamplesTestsInGroup()
2013 for (deUint32 caseNdx = 0u; caseNdx < DE_LENGTH_OF_ARRAY(singlePassCases); ++caseNdx) in createMixedAttachmentSamplesTestsInGroup() local
2016 params.numColorSamples = singlePassCases[caseNdx].colorSamples; in createMixedAttachmentSamplesTestsInGroup()
[all …]

123