Home
last modified time | relevance | path

Searched refs:bufferNdx (Results 1 – 12 of 12) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp68 int bufferNdx; member
93 , bufferNdx (0) in Attribute()
213 …ERTEX_ATTRIB_ARRAY_BUFFER_BINDING : " << m_buffers[state.attributes[attribNdx].bufferNdx] << "\n"; in logVertexArrayState()
222 for (int bufferNdx = 0; bufferNdx < (int)m_spec.buffers.size(); bufferNdx++) in init() local
224 deUint8* data = createRandomBufferData(m_spec.buffers[bufferNdx]); in init()
233 …GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, m_spec.buffers[bufferNdx].size, data, GL_DYNAMIC_DRAW… in init()
552 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_buffers[state.attributes[attribNdx].bufferNdx])); in setState()
731 …ERTEX_ATTRIB_ARRAY_BUFFER_BINDING : " << m_buffers[state.attributes[attribNdx].bufferNdx] << "\n"; in logVertexArrayState()
768 m_spec.state.attributes[attribNdx].bufferNdx = attribNdx+1; in init()
786 m_spec.vao.attributes[attribNdx].bufferNdx = attribCount - attribNdx; in init()
[all …]
Des3fTransformFeedbackTests.cpp143 : bufferNdx (0) in Output()
150 int bufferNdx; member
478 output.bufferNdx = bufNdx; in computeTransformFeedbackOutputs()
1196 for (int bufferNdx = 0; bufferNdx < (int)m_outputBuffers.size(); bufferNdx++) in runTest() local
1198 deUint32 buffer = m_outputBuffers[bufferNdx]; in runTest()
1199 int stride = m_bufferStrides[bufferNdx]; in runTest()
1212 if (out->bufferNdx != bufferNdx) in runTest()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp1327 for (int bufferNdx = 0; bufferNdx < numBuffers; bufferNdx++) in getViewOffsets() local
1337 …viewOffset.push_back(setViewOffset ? (staticOffsetValues[bufferNdx % getInterfaceNumResources(shad… in getViewOffsets()
1350 for (int bufferNdx = 0; bufferNdx < numBuffers; bufferNdx++) in getDynamicOffsets() local
1360 …dynamicOffset.push_back(dynamicOffsetNonZero ? (dynamicOffsetValues[bufferNdx % getInterfaceNumRes… in getDynamicOffsets()
1381 for (int bufferNdx = 0; bufferNdx < numBuffers; bufferNdx++) in createSourceBuffers() local
1391 …DescriptorType(descriptorType) ? (viewOffset[bufferNdx] + dynamicOffset[bufferNdx]) : (viewOffset[ in createSourceBuffers()
1392 bufferSize.push_back(bufferSizeValues[bufferNdx % getInterfaceNumResources(shaderInterface)]); in createSourceBuffers()
1399 for (deUint32 bufferNdx = 0; bufferNdx < getInterfaceNumResources(shaderInterface); bufferNdx++) in createSourceBuffers() local
1402 … device, allocator, descriptorType, setNdx, effectiveOffset[bufferNdx], bufferSize[bufferNdx], &me… in createSourceBuffers()
2736 …or (deUint32 bufferNdx = 0; bufferNdx < getDescriptorSetCount(m_descriptorSetCount) * getInterface… in testResourceAccess() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp264 deUint32 bufferNdx = 0u; in createDescriptorSet() local
274 …teBuilder::Location::binding(descriptorNdx), dtypes[descriptorNdx], &descriptorInfos[bufferNdx++]); in createDescriptorSet()
550 deUint32 bufferNdx = 0u; in iterate() local
633 **inputBuffers[bufferNdx++], // VkBuffer buffer; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp1310 for (size_t bufferNdx = 0; bufferNdx < m_vertexBuffers.size(); bufferNdx++) in VertexInputInstance() local
1311 vertexBuffers.push_back(m_vertexBuffers[bufferNdx]); in VertexInputInstance()
1346 for (size_t bufferNdx = 0; bufferNdx < m_vertexBuffers.size(); bufferNdx++) in ~VertexInputInstance() local
1347 vk.destroyBuffer(vkDevice, m_vertexBuffers[bufferNdx], DE_NULL); in ~VertexInputInstance()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1199 for (size_t bufferNdx = 0; bufferNdx < m_inValues.size(); ++bufferNdx) in iterate() local
1201 buffers[bufferNdx] = BufferSp(new Buffer(m_context, bufferUsage, sizeof(deUint32))); in iterate()
1202 *(deUint32*)buffers[bufferNdx]->getHostPtr() = m_inValues[bufferNdx]; in iterate()
1203 buffers[bufferNdx]->flush(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp936 for(int bufferNdx = 0; bufferNdx < static_cast<int>(cmdBuffers.size()); ++bufferNdx) in addCommandsToBuffer() local
938 VK_CHECK(vk.beginCommandBuffer(cmdBuffers[bufferNdx], &cmdBufBeginInfo)); in addCommandsToBuffer()
939 …vk.cmdSetEvent(cmdBuffers[bufferNdx], **events[bufferNdx % events.size()], VK_PIPELINE_STAGE_ALL_C… in addCommandsToBuffer()
940 endCommandBuffer(vk, cmdBuffers[bufferNdx]); in addCommandsToBuffer()
1036 for (deUint32 bufferNdx = cmdBufferIterationrNdx % 3u; bufferNdx < cmdBufferCount; bufferNdx+=2u) in trimCommandPoolTest() local
1038 vk.freeCommandBuffers(vkDevice, *cmdPool, 1u, &cmdBuffers[bufferNdx]); in trimCommandPoolTest()
1039 createCommadBuffers(vk, vkDevice, 1u, *cmdPool, cmdBufferLevel, &cmdBuffers[bufferNdx]); in trimCommandPoolTest()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp418 for (size_t bufferNdx = 0; bufferNdx < buffers.size(); bufferNdx++) in createBuffers() local
419 …buffers[bufferNdx] = safeSharedPtr(new Unique<VkBuffer>(createBuffer(vkd, device, format, width, h… in createBuffers()
DvktRenderPassMultisampleTests.cpp443 for (size_t bufferNdx = 0; bufferNdx < buffers.size(); bufferNdx++) in createBuffers() local
444 …buffers[bufferNdx] = safeSharedPtr(new vk::Unique<VkBuffer>(createBuffer(vkd, device, format, widt… in createBuffers()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTests.cpp2382 for (int bufferNdx = 0; bufferNdx < numAtomicBuffers; ++bufferNdx) in iterate() local
2384 …ogSection section (m_testCtx.getLog(), "Resource", "Resource index " + de::toString(bufferNdx)); in iterate()
2395 …gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, 1, &numActiveVa… in iterate()
2417 …gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, 1, &activeVaria… in iterate()
2572 for (int bufferNdx = 0; bufferNdx < numAtomicBuffers; ++bufferNdx) in iterate() local
2574 …ogSection section (m_testCtx.getLog(), "Resource", "Resource index " + de::toString(bufferNdx)); in iterate()
2579 …gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, 1, &bufferBindi… in iterate()
2625 for (int bufferNdx = 0; bufferNdx < numAtomicBuffers; ++bufferNdx) in iterate() local
2627 …ogSection section (m_testCtx.getLog(), "Resource", "Resource index " + de::toString(bufferNdx)); in iterate()
2633 …gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, DE_LENGTH_OF_AR… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp2379 for (size_t bufferNdx = 0; bufferNdx < bufferSizes.size(); bufferNdx++) in iterate() local
2380 totalSize += bufferSizes[bufferNdx]; in iterate()
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp2336 …for (int bufferNdx = 0; bufferNdx < m_threads[threadNdx]->context->resourceManager->getBufferCount… in addRandomOperation() local
2338 …2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->getBuffer(bufferNdx); in addRandomOperation()
2343 definedBufferNdx = bufferNdx; in addRandomOperation()
2345 definedBufferNdx = bufferNdx; in addRandomOperation()