Home
last modified time | relevance | path

Searched refs:opNdx (Results 1 – 24 of 24) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationSingleQueueTests.cpp386 for (deUint32 opNdx = 0; opNdx < (m_opSupports.size() - 1); opNdx++) in TimelineSemaphoreTestInstance() local
388 …deUint32 usage = m_opSupports[opNdx]->getOutResourceUsageFlags() | m_opSupports[opNdx + 1]->getInR… in TimelineSemaphoreTestInstance()
394 for (deUint32 opNdx = 1; opNdx < (m_opSupports.size() - 1); opNdx++) in TimelineSemaphoreTestInstance() local
395 …ck(de::SharedPtr<Operation>(m_opSupports[opNdx]->build(m_opContext, *m_resources[opNdx - 1], *m_re… in TimelineSemaphoreTestInstance()
415 for (deUint32 opNdx = 0; opNdx < m_ops.size(); opNdx++) in iterate() local
418 cmdBuffersInfo[opNdx].commandBuffer = **(ptrCmdBuffers.back()); in iterate()
421 for (deUint32 opNdx = 0; opNdx < m_ops.size(); opNdx++) in iterate() local
424 signalSemaphoreSubmitInfos[opNdx].value = increment; in iterate()
425 waitSemaphoreSubmitInfos[opNdx].value = increment; in iterate()
428 opNdx == 0 ? 0u : 1u, in iterate()
[all …]
DvktSynchronizationTimelineSemaphoreTests.cpp933 for (deUint32 opNdx = 0; opNdx < (m_iterations.size() * 2); opNdx++) in iterate() local
936 commandBufferSubmitInfos[opNdx].commandBuffer = **(ptrCmdBuffers.back()); in iterate()
1555 for (deUint32 opNdx = 0; opNdx < m_iterations.size(); opNdx++) in iterate() local
1558 m_iterations[opNdx]->queueFamilyIdx))); in iterate()
1560 commandBufferSubmitInfos[opNdx].commandBuffer = **(ptrCmdBuffers.back()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationOperationSingleQueueTests.cpp386 for (deUint32 opNdx = 0; opNdx < (m_opSupports.size() - 1); opNdx++) in TimelineSemaphoreTestInstance() local
388 …deUint32 usage = m_opSupports[opNdx]->getOutResourceUsageFlags() | m_opSupports[opNdx + 1]->getInR… in TimelineSemaphoreTestInstance()
394 for (deUint32 opNdx = 1; opNdx < (m_opSupports.size() - 1); opNdx++) in TimelineSemaphoreTestInstance() local
395 …ck(de::SharedPtr<Operation>(m_opSupports[opNdx]->build(m_opContext, *m_resources[opNdx - 1], *m_re… in TimelineSemaphoreTestInstance()
415 for (deUint32 opNdx = 0; opNdx < m_ops.size(); opNdx++) in iterate() local
418 cmdBuffersInfo[opNdx].commandBuffer = **(ptrCmdBuffers.back()); in iterate()
421 for (deUint32 opNdx = 0; opNdx < m_ops.size(); opNdx++) in iterate() local
424 signalSemaphoreSubmitInfos[opNdx].value = increment; in iterate()
425 waitSemaphoreSubmitInfos[opNdx].value = increment; in iterate()
428 opNdx == 0 ? 0u : 1u, in iterate()
[all …]
DvktSynchronizationTimelineSemaphoreTests.cpp933 for (deUint32 opNdx = 0; opNdx < (m_iterations.size() * 2); opNdx++) in iterate() local
936 commandBufferSubmitInfos[opNdx].commandBuffer = **(ptrCmdBuffers.back()); in iterate()
1555 for (deUint32 opNdx = 0; opNdx < m_iterations.size(); opNdx++) in iterate() local
1558 m_iterations[opNdx]->queueFamilyIdx))); in iterate()
1560 commandBufferSubmitInfos[opNdx].commandBuffer = **(ptrCmdBuffers.back()); in iterate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp1046 for (int opNdx = 0; opNdx < numOps; opNdx++) in getShaderSpec() local
1048 const string varName = indicesPrefix + de::toString(opNdx); in getShaderSpec()
1055 for (int opNdx = 0; opNdx < numOps; opNdx++) in getShaderSpec() local
1057 const string varName = resultPrefix + de::toString(opNdx); in getShaderSpec()
1061 for (int opNdx = 0; opNdx < numOps; opNdx++) in getShaderSpec() local
1063 code << resultPrefix << opNdx << " = atomicCounterIncrement(counter["; in getShaderSpec()
1066 code << opIndices[opNdx]; in getShaderSpec()
1068 code << "indexBase + " << (opIndices[opNdx]-1); in getShaderSpec()
1070 code << indicesPrefix << opNdx; in getShaderSpec()
1093 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
[all …]
Des31fPrimitiveBoundingBoxTests.cpp4517 for (int opNdx = 0; opNdx < numOps; ++opNdx) in renderTo() local
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp818 for (deUint32 opNdx = 0u; opNdx <= READOP_IMAGESAMPLE; opNdx++) in addComputeImageSamplerTest() local
820 …cu::TestCaseGroup> readOpGroup (new tcu::TestCaseGroup(testCtx, getReadOpName((ReadOp)opNdx), "")); in addComputeImageSamplerTest()
828 if (!isValidTestCase((TestType)testNdx, (DescriptorType)descNdx, (ReadOp)opNdx)) in addComputeImageSamplerTest()
839 …const std::string functionSrcVariables = getFunctionSrcVariableStr((ReadOp)opNdx, (DescriptorType)… in addComputeImageSamplerTest()
840 …const std::string functionDstVariables = getFunctionDstVariableStr((ReadOp)opNdx, (DescriptorType)… in addComputeImageSamplerTest()
843 const std::string functionDstParams = getFunctionDstParamStr((ReadOp)opNdx, (TestType)testNdx); in addComputeImageSamplerTest()
884 std::string imageReadOp (getImageReadOpStr((ReadOp)opNdx, useSpirV16)); in addComputeImageSamplerTest()
910 …ageSamplerTypes = getImageSamplerTypeStr((DescriptorType)descNdx, (ReadOp)opNdx, (DepthProperty)pr… in addComputeImageSamplerTest()
1167 for (deUint32 opNdx = 0u; opNdx < READOP_LAST; opNdx++) in addGraphicsImageSamplerTest() local
1169 …cu::TestCaseGroup> readOpGroup (new tcu::TestCaseGroup(testCtx, getReadOpName((ReadOp)opNdx), "")); in addGraphicsImageSamplerTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp818 for (deUint32 opNdx = 0u; opNdx <= READOP_IMAGESAMPLE; opNdx++) in addComputeImageSamplerTest() local
820 …cu::TestCaseGroup> readOpGroup (new tcu::TestCaseGroup(testCtx, getReadOpName((ReadOp)opNdx), "")); in addComputeImageSamplerTest()
828 if (!isValidTestCase((TestType)testNdx, (DescriptorType)descNdx, (ReadOp)opNdx)) in addComputeImageSamplerTest()
839 …const std::string functionSrcVariables = getFunctionSrcVariableStr((ReadOp)opNdx, (DescriptorType)… in addComputeImageSamplerTest()
840 …const std::string functionDstVariables = getFunctionDstVariableStr((ReadOp)opNdx, (DescriptorType)… in addComputeImageSamplerTest()
843 const std::string functionDstParams = getFunctionDstParamStr((ReadOp)opNdx, (TestType)testNdx); in addComputeImageSamplerTest()
884 std::string imageReadOp (getImageReadOpStr((ReadOp)opNdx, useSpirV16)); in addComputeImageSamplerTest()
910 …ageSamplerTypes = getImageSamplerTypeStr((DescriptorType)descNdx, (ReadOp)opNdx, (DepthProperty)pr… in addComputeImageSamplerTest()
1167 for (deUint32 opNdx = 0u; opNdx < READOP_LAST; opNdx++) in addGraphicsImageSamplerTest() local
1169 …cu::TestCaseGroup> readOpGroup (new tcu::TestCaseGroup(testCtx, getReadOpName((ReadOp)opNdx), "")); in addGraphicsImageSamplerTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1730 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
1732 int* dst = &expandedIndices[numInvocations*opNdx]; in iterate()
1733 std::fill(dst, dst+numInvocations, m_opIndices[opNdx]); in iterate()
1736 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
1737 inputs.push_back(&expandedIndices[opNdx*numInvocations]); in iterate()
1740 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
1741 outputs.push_back(&outValues[opNdx*numInvocations]); in iterate()
1757 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
1758 numHits[m_opIndices[opNdx]] += 1; in iterate()
1803 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
[all …]
DvktAtomicOperationTests.cpp1530 for (int opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(atomicOp); opNdx++) in addAtomicOperationTests() local
1539 if (atomicOp[opNdx].value != ATOMIC_OP_ADD && in addAtomicOperationTests()
1541 atomicOp[opNdx].value != ATOMIC_OP_MIN && in addAtomicOperationTests()
1542 atomicOp[opNdx].value != ATOMIC_OP_MAX && in addAtomicOperationTests()
1544 atomicOp[opNdx].value != ATOMIC_OP_EXCHANGE) in addAtomicOperationTests()
1563 …cription = std::string("Tests atomic operation ") + atomicOp2Str(atomicOp[opNdx].value) + std::str… in addAtomicOperationTests()
1564 …const std::string name = std::string(atomicOp[opNdx].name) + "_" + std::string(dataSign[signNdx]… in addAtomicOperationTests()
1566 …eNdx].type, kMemoryTypes[memoryTypeNdx].type), dataSign[signNdx].dataType, atomicOp[opNdx].value)); in addAtomicOperationTests()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1730 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
1732 int* dst = &expandedIndices[numInvocations*opNdx]; in iterate()
1733 std::fill(dst, dst+numInvocations, m_opIndices[opNdx]); in iterate()
1736 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
1737 inputs.push_back(&expandedIndices[opNdx*numInvocations]); in iterate()
1740 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
1741 outputs.push_back(&outValues[opNdx*numInvocations]); in iterate()
1757 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
1758 numHits[m_opIndices[opNdx]] += 1; in iterate()
1803 for (int opNdx = 0; opNdx < numOps; opNdx++) in iterate() local
[all …]
DvktAtomicOperationTests.cpp1530 for (int opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(atomicOp); opNdx++) in addAtomicOperationTests() local
1539 if (atomicOp[opNdx].value != ATOMIC_OP_ADD && in addAtomicOperationTests()
1541 atomicOp[opNdx].value != ATOMIC_OP_MIN && in addAtomicOperationTests()
1542 atomicOp[opNdx].value != ATOMIC_OP_MAX && in addAtomicOperationTests()
1544 atomicOp[opNdx].value != ATOMIC_OP_EXCHANGE) in addAtomicOperationTests()
1563 …cription = std::string("Tests atomic operation ") + atomicOp2Str(atomicOp[opNdx].value) + std::str… in addAtomicOperationTests()
1564 …const std::string name = std::string(atomicOp[opNdx].name) + "_" + std::string(dataSign[signNdx]… in addAtomicOperationTests()
1566 …eNdx].type, kMemoryTypes[memoryTypeNdx].type), dataSign[signNdx].dataType, atomicOp[opNdx].value)); in addAtomicOperationTests()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fColorClearTest.cpp175 for (int opNdx = 0; opNdx < (int)clearOps.size(); opNdx++) in iterate() local
177 ClearInfo& op = clearOps[opNdx]; in iterate()
190 for (int opNdx = (int)scanlineClearOps.size() - 1; opNdx >= 0; opNdx--) in iterate() local
192 const ClearInfo& op = scanlineClearOps[opNdx]; in iterate()
Des2fShaderMatrixTests.cpp1145 for (int opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(ops); opNdx++) in init() local
1147 …const InputTypeSpec* inTypeList = (ops[opNdx].extendedInputTypeCases) ? (extendedInputTypes) : (r… in init()
1148 …const int inTypeListSize = (ops[opNdx].extendedInputTypeCases) ? (DE_LENGTH_OF_ARRAY(extendedIn… in init()
1149 const MatrixOp op = ops[opNdx].op; in init()
1150 …tcu::TestCaseGroup* opGroup = new tcu::TestCaseGroup(m_testCtx, ops[opNdx].name, ops[opNdx].des… in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fColorClearTest.cpp175 for (int opNdx = 0; opNdx < (int)clearOps.size(); opNdx++) in iterate() local
177 ClearInfo& op = clearOps[opNdx]; in iterate()
190 for (int opNdx = (int)scanlineClearOps.size() - 1; opNdx >= 0; opNdx--) in iterate() local
192 const ClearInfo& op = scanlineClearOps[opNdx]; in iterate()
Des3fShaderMatrixTests.cpp1862 for (int opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(ops); opNdx++) in init() local
1864 …const InputTypeSpec* inTypeList = (ops[opNdx].extendedInputTypeCases) ? (extendedInputTypes) : (r… in init()
1865 …const int inTypeListSize = (ops[opNdx].extendedInputTypeCases) ? (DE_LENGTH_OF_ARRAY(extendedIn… in init()
1866 const MatrixOp op = ops[opNdx].op; in init()
1867 …tcu::TestCaseGroup* opGroup = new tcu::TestCaseGroup(m_testCtx, ops[opNdx].name, ops[opNdx].des… in init()
1876 if (ops[opNdx].createInputTypeGroup) in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp1855 for (size_t opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(ops); opNdx++) in createMappingTests() local
1857 const Op op = ops[opNdx].op; in createMappingTests()
1864 const char* const name = ops[opNdx].name; in createMappingTests()
1865 const deUint32 seed = (deUint32)(opNdx * allocationSizeNdx); in createMappingTests()
1909 for (size_t opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(ops); opNdx++) in createMappingTests() local
1911 const Op op = ops[opNdx].op; in createMappingTests()
1918 const deUint32 seed = (deUint32)(opNdx * allocationSizeNdx); in createMappingTests()
1919 const char* const name = ops[opNdx].name; in createMappingTests()
DvktMemoryPipelineBarrierTests.cpp9080 size_t& opNdx, in createRenderPassCommands() argument
9087 for (; opNdx < opCount; opNdx++) in createRenderPassCommands()
9130 size_t& opNdx, in createSecondaryCmdCommands() argument
9137 for (; opNdx < opCount; opNdx++) in createSecondaryCmdCommands()
9180 size_t& opNdx, in createCmdCommands() argument
9195 for (; opNdx < opCount; opNdx++) in createCmdCommands()
9216 …commands.push_back(createRenderPassCommands(memory, nextOpRng, state, testConfig, opNdx, opCount).… in createCmdCommands()
9221 …ck(createSecondaryCmdCommands(memory, nextOpRng, state, testConfig.usage, opNdx, opCount).release(… in createCmdCommands()
9261 for (size_t opNdx = 0; opNdx < opCount; opNdx++) in createCommands() local
9275 …commands.push_back(createCmdCommands(memory, nextOpRng, state, testConfig, opNdx, opCount).release… in createCommands()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryMappingTests.cpp1855 for (size_t opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(ops); opNdx++) in createMappingTests() local
1857 const Op op = ops[opNdx].op; in createMappingTests()
1864 const char* const name = ops[opNdx].name; in createMappingTests()
1865 const deUint32 seed = (deUint32)(opNdx * allocationSizeNdx); in createMappingTests()
1909 for (size_t opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(ops); opNdx++) in createMappingTests() local
1911 const Op op = ops[opNdx].op; in createMappingTests()
1918 const deUint32 seed = (deUint32)(opNdx * allocationSizeNdx); in createMappingTests()
1919 const char* const name = ops[opNdx].name; in createMappingTests()
DvktMemoryPipelineBarrierTests.cpp9080 size_t& opNdx, in createRenderPassCommands() argument
9087 for (; opNdx < opCount; opNdx++) in createRenderPassCommands()
9130 size_t& opNdx, in createSecondaryCmdCommands() argument
9137 for (; opNdx < opCount; opNdx++) in createSecondaryCmdCommands()
9180 size_t& opNdx, in createCmdCommands() argument
9195 for (; opNdx < opCount; opNdx++) in createCmdCommands()
9216 …commands.push_back(createRenderPassCommands(memory, nextOpRng, state, testConfig, opNdx, opCount).… in createCmdCommands()
9221 …ck(createSecondaryCmdCommands(memory, nextOpRng, state, testConfig.usage, opNdx, opCount).release(… in createCmdCommands()
9261 for (size_t opNdx = 0; opNdx < opCount; opNdx++) in createCommands() local
9275 …commands.push_back(createCmdCommands(memory, nextOpRng, state, testConfig, opNdx, opCount).release… in createCommands()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp2034 for (int opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(ops); opNdx++) in init() local
2036 …const InputTypeSpec* inTypeList = (ops[opNdx].extendedInputTypeCases) ? (extendedInputTypes) : (r… in init()
2037 …const int inTypeListSize = (ops[opNdx].extendedInputTypeCases) ? (DE_LENGTH_OF_ARRAY(extendedIn… in init()
2038 const MatrixOp op = ops[opNdx].op; in init()
2039 …tcu::TestCaseGroup* opGroup = new tcu::TestCaseGroup(m_testCtx, ops[opNdx].name, ops[opNdx].des… in init()
2048 if (ops[opNdx].createInputTypeGroup) in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp2034 for (int opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(ops); opNdx++) in init() local
2036 …const InputTypeSpec* inTypeList = (ops[opNdx].extendedInputTypeCases) ? (extendedInputTypes) : (r… in init()
2037 …const int inTypeListSize = (ops[opNdx].extendedInputTypeCases) ? (DE_LENGTH_OF_ARRAY(extendedIn… in init()
2038 const MatrixOp op = ops[opNdx].op; in init()
2039 …tcu::TestCaseGroup* opGroup = new tcu::TestCaseGroup(m_testCtx, ops[opNdx].name, ops[opNdx].des… in init()
2048 if (ops[opNdx].createInputTypeGroup) in init()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pShaderOperatorTests.cpp1897 for (int opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(binaryOps); opNdx++) in init() local
1899 tcu::TestCaseGroup* const opGroup = new tcu::TestCaseGroup(m_testCtx, binaryOps[opNdx].name, ""); in init()
1915 const char* const op = binaryOps[opNdx].op; in init()
1916 const bool useSwizzle = binaryOps[opNdx].swizzle; in init()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pShaderOperatorTests.cpp1905 for (int opNdx = 0; opNdx < DE_LENGTH_OF_ARRAY(binaryOps); opNdx++) in init() local
1907 tcu::TestCaseGroup* const opGroup = new tcu::TestCaseGroup(m_testCtx, binaryOps[opNdx].name, ""); in init()
1923 const char* const op = binaryOps[opNdx].op; in init()
1924 const bool useSwizzle = binaryOps[opNdx].swizzle; in init()