/third_party/vk-gl-cts/modules/gles2/stress/ |
D | es2sLongRunningTests.cpp | 114 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 …]
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sLongRunningTests.cpp | 114 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 …]
|
D | es3sLongShaderTests.cpp | 452 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(caseOpCounts); caseNdx++) in init() local 457 const deUint32 opCount = caseOpCounts[caseNdx]; in init()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deMemory.c | 319 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 …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fScissorTests.cpp | 82 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()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fScissorTests.cpp | 92 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()
|
D | es3fTextureSwizzleTests.cpp | 327 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()
|
D | es3fTextureShadowTests.cpp | 296 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 …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderConstExprTests.cpp | 121 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 …]
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
D | es2pBlendTests.cpp | 163 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local 164 …caseNdx].name, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[… in init()
|
D | es2pTextureFilteringTests.cpp | 80 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()
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
D | es3pBlendTests.cpp | 170 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init() local 171 …caseNdx].name, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[… in init()
|
D | es3pTextureFilteringTests.cpp | 81 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/ |
D | vktClippingTests.cpp | 468 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in testPrimitivesInside() local 470 log << tcu::TestLog::Message << cases[caseNdx].desc << tcu::TestLog::EndMessage; in testPrimitivesInside() 472 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, … in testPrimitivesInside() 524 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); ++caseNdx) in testPrimitivesOutside() local 526 log << tcu::TestLog::Message << cases[caseNdx].desc << tcu::TestLog::EndMessage; in testPrimitivesOutside() 528 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, … in testPrimitivesOutside() 614 for (int caseNdx = 0; caseNdx < numCases; ++caseNdx) in testPrimitivesDepthClamp() local 616 log << tcu::TestLog::Message << cases[caseNdx].desc << tcu::TestLog::EndMessage; in testPrimitivesDepthClamp() 618 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, … in testPrimitivesDepthClamp() 621 pipelineState.depthClampEnable = cases[caseNdx].depthClampEnable; in testPrimitivesDepthClamp() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationShaderInputOutputTests.cpp | 961 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 …]
|
D | vktTessellationWindingTests.cpp | 484 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesQueueBindSparseTests.cpp | 366 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 323 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in Texture2DShadowTestInstance() local 325 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in Texture2DShadowTestInstance() 326 const float ref = cases[caseNdx].ref; in Texture2DShadowTestInstance() 327 const float lodX = cases[caseNdx].lodX; in Texture2DShadowTestInstance() 328 const float lodY = cases[caseNdx].lodY; in Texture2DShadowTestInstance() 329 const float oX = cases[caseNdx].oX; in Texture2DShadowTestInstance() 330 const float oY = cases[caseNdx].oY; in Texture2DShadowTestInstance() 769 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in Texture2DArrayShadowTestInstance() local 771 const int tex = cases[caseNdx].texNdx > 0 ? 1 : 0; in Texture2DArrayShadowTestInstance() 772 const float ref = cases[caseNdx].ref; in Texture2DArrayShadowTestInstance() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 1313 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in createOpFUnordGroup() local 1322 specializations["OPCODE"] = cases[caseNdx].opCode; in createOpFUnordGroup() 1337 …loats1[ndx]).isNaN() || tcu::Float32(inputFloats2[ndx]).isNaN() || cases[caseNdx].compareFunc(inpu… in createOpFUnordGroup() 1352 …group->addChild(new SpvAsmComputeShaderCase(testCtx, cases[caseNdx].name, cases[caseNdx].name, spe… in createOpFUnordGroup() 1483 for (size_t caseNdx = 0; caseNdx < cases.size(); ++caseNdx) in createOpAtomicGroup() local 1488 vector<deInt32> expected (cases[caseNdx].numOutputElements, -1); in createOpAtomicGroup() 1505 specializations["INDEX"] = (cases[caseNdx].numOutputElements == 1) ? "%zero" : "%x"; in createOpAtomicGroup() 1506 specializations["INSTRUCTION"] = cases[caseNdx].assembly; in createOpAtomicGroup() 1527 + std::string(cases[caseNdx].retValAssembly); in createOpAtomicGroup() 1548 …ush_back(BufferSp(new OpAtomicBuffer(numElements, cases[caseNdx].numOutputElements, cases[caseNdx]… in createOpAtomicGroup() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 2486 for (deUint32 caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(fragCoordMsaaCaseList); caseNdx++) in createBuiltinVarTests() local 2488 …(testCtx, fragCoordMsaaCaseList[caseNdx].name, fragCoordMsaaCaseList[caseNdx].description, fragCoo… in createBuiltinVarTests() 2489 …(testCtx, fragCoordMsaaCaseList[caseNdx].name, fragCoordMsaaCaseList[caseNdx].description, fragCoo… in createBuiltinVarTests() 2495 for (deUint32 caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(fragCoordMsaaCaseList); caseNdx++) in createBuiltinVarTests() local 2497 …ordMsaaCaseList[caseNdx].name) + "_no_sample_shading").c_str(), fragCoordMsaaCaseList[caseNdx].des… in createBuiltinVarTests() 2501 for (deUint32 caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(fragCoordMsaaCaseList); caseNdx++) in createBuiltinVarTests() local 2503 …ist[caseNdx].name) + "_no_sample_shading_centroid_interpolation").c_str(), fragCoordMsaaCaseList[c… in createBuiltinVarTests() 2569 for (deUint32 caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(testCaseTable); caseNdx++) in createBuiltinVarTests() local 2570 …hCase(testCtx, (primitiveTopologyTable[primNdx].name+"_" + testCaseTable[caseNdx].name).c_str(), p… in createBuiltinVarTests() 2571 …, testCaseTable[caseNdx].format, testCaseTable[caseNdx].largeDepthEnable, testCaseTable[caseNdx].d… in createBuiltinVarTests()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fInternalFormatQueryTests.cpp | 453 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()
|
D | es31fShaderCommonFunctionTests.cpp | 1241 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 1981 for (int caseNdx = 0; caseNdx < numSpecialCases; caseNdx++) in getInputValues() local 1986 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues() [all …]
|
D | es31fFboNoAttachmentTests.cpp | 591 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(specs); caseNdx++) in createFboNoAttachmentTests() local 593 const FboSpec& spec = specs[caseNdx]; in createFboNoAttachmentTests() 626 for (int caseNdx = 0; caseNdx < 16; caseNdx++) in createFboNoAttachmentTests() local 632 const string name = de::toString(caseNdx); in createFboNoAttachmentTests()
|
D | es31fUniformLocationTests.cpp | 881 for (int caseNdx = 0; caseNdx < 16; caseNdx++) in init() local 885 const string name = "case_" + de::toString(caseNdx); in init() 922 for (int caseNdx = 0; caseNdx < 16; caseNdx++) in init() local 926 const string name = "case_" + de::toString(caseNdx); in init() 1061 for (int caseNdx = 0; caseNdx < 10; caseNdx++) in init() local 1063 const string name = "case_" + de::toString(caseNdx); in init() 1066 vector<int> locations = shuffledRange(0, maxLocations, 0x1234 + caseNdx*100); in init()
|
/third_party/vk-gl-cts/framework/delibs/dethread/ |
D | deThreadTest.c | 679 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()
|