Home
last modified time | relevance | path

Searched refs:bufferNdx (Results 1 – 14 of 14) 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()
739 …ERTEX_ATTRIB_ARRAY_BUFFER_BINDING : " << m_buffers[state.attributes[attribNdx].bufferNdx] << "\n"; in logVertexArrayState()
776 m_spec.state.attributes[attribNdx].bufferNdx = attribNdx+1; in init()
794 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.cpp1353 for (int bufferNdx = 0; bufferNdx < numBuffers; bufferNdx++) in getViewOffsets() local
1363 …viewOffset.push_back(setViewOffset ? (staticOffsetValues[bufferNdx % getInterfaceNumResources(shad… in getViewOffsets()
1376 for (int bufferNdx = 0; bufferNdx < numBuffers; bufferNdx++) in getDynamicOffsets() local
1386 …dynamicOffset.push_back(dynamicOffsetNonZero ? (dynamicOffsetValues[bufferNdx % getInterfaceNumRes… in getDynamicOffsets()
1407 for (int bufferNdx = 0; bufferNdx < numBuffers; bufferNdx++) in createSourceBuffers() local
1417 …DescriptorType(descriptorType) ? (viewOffset[bufferNdx] + dynamicOffset[bufferNdx]) : (viewOffset[ in createSourceBuffers()
1418 bufferSize.push_back(bufferSizeValues[bufferNdx % getInterfaceNumResources(shaderInterface)]); in createSourceBuffers()
1425 for (deUint32 bufferNdx = 0; bufferNdx < getInterfaceNumResources(shaderInterface); bufferNdx++) in createSourceBuffers() local
1428 … device, allocator, descriptorType, setNdx, effectiveOffset[bufferNdx], bufferSize[bufferNdx], &me… in createSourceBuffers()
2813 …or (deUint32 bufferNdx = 0; bufferNdx < getDescriptorSetCount(m_descriptorSetCount) * getInterface… in testResourceAccess() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp571 void populateSourceBuffer (const tcu::PixelBufferAccess& access, deUint32 bufferNdx);
624 …atsTestInstance::populateSourceBuffer (const tcu::PixelBufferAccess& access, deUint32 bufferNdx) in populateSourceBuffer() argument
641 if (bufferNdx % 2 == 0) red = 255 - red; in populateSourceBuffer()
642 if (bufferNdx % 3 == 0) green = 255 - green; in populateSourceBuffer()
643 if (bufferNdx % 4 == 0) blue = 255 - blue; in populateSourceBuffer()
DvktApiCommandBuffersTests.cpp974 for(int bufferNdx = 0; bufferNdx < static_cast<int>(cmdBuffers.size()); ++bufferNdx) in addCommandsToBuffer() local
976 VK_CHECK(vk.beginCommandBuffer(cmdBuffers[bufferNdx], &cmdBufBeginInfo)); in addCommandsToBuffer()
977 …vk.cmdSetEvent(cmdBuffers[bufferNdx], **events[bufferNdx % events.size()], VK_PIPELINE_STAGE_ALL_C… in addCommandsToBuffer()
978 endCommandBuffer(vk, cmdBuffers[bufferNdx]); in addCommandsToBuffer()
1074 for (deUint32 bufferNdx = cmdBufferIterationrNdx % 3u; bufferNdx < cmdBufferCount; bufferNdx+=2u) in trimCommandPoolTest() local
1076 vk.freeCommandBuffers(vkDevice, *cmdPool, 1u, &cmdBuffers[bufferNdx]); in trimCommandPoolTest()
1077 createCommadBuffers(vk, vkDevice, 1u, *cmdPool, cmdBufferLevel, &cmdBuffers[bufferNdx]); in trimCommandPoolTest()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp1240 for (size_t bufferNdx = 0; bufferNdx < m_vertexBuffers.size(); bufferNdx++) in VertexInputInstance() local
1241 vertexBuffers.push_back(m_vertexBuffers[bufferNdx]); in VertexInputInstance()
1276 for (size_t bufferNdx = 0; bufferNdx < m_vertexBuffers.size(); bufferNdx++) in ~VertexInputInstance() local
1277 vk.destroyBuffer(vkDevice, m_vertexBuffers[bufferNdx], DE_NULL); in ~VertexInputInstance()
DvktPipelineMultisampledRenderToSingleSampledTests.cpp671 for (deUint32 bufferNdx = 0; bufferNdx < 5; ++bufferNdx) in logTestImages() local
672 invalidateAlloc(vk, device, *bufferAlloc[bufferNdx]); in logTestImages()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp274 deUint32 bufferNdx = 0u; in createDescriptorSet() local
284 …teBuilder::Location::binding(descriptorNdx), dtypes[descriptorNdx], &descriptorInfos[bufferNdx++]); in createDescriptorSet()
564 deUint32 bufferNdx = 0u; in iterate() local
647 **inputBuffers[bufferNdx++], // VkBuffer buffer; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1224 for (size_t bufferNdx = 0; bufferNdx < m_inValues.size(); ++bufferNdx) in iterate() local
1226 buffers[bufferNdx] = BufferSp(new Buffer(m_context, bufferUsage, sizeof(deUint32))); in iterate()
1227 *(deUint32*)buffers[bufferNdx]->getHostPtr() = m_inValues[bufferNdx]; in iterate()
1228 buffers[bufferNdx]->flush(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp514 for (size_t bufferNdx = 0; bufferNdx < buffers.size(); bufferNdx++) in createBuffers() local
515 …buffers[bufferNdx] = safeSharedPtr(new vk::Unique<VkBuffer>(createBuffer(vkd, device, format, widt… in createBuffers()
DvktRenderPassMultisampleResolveTests.cpp410 for (size_t bufferNdx = 0; bufferNdx < buffers.size(); bufferNdx++) in createBuffers() local
411 buffers[bufferNdx] = safeSharedPtr(new Unique<VkBuffer>(createBuffer(vkd, device, &createInfo))); in createBuffers()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTests.cpp2389 for (int bufferNdx = 0; bufferNdx < numAtomicBuffers; ++bufferNdx) in iterate() local
2391 …ogSection section (m_testCtx.getLog(), "Resource", "Resource index " + de::toString(bufferNdx)); in iterate()
2402 …gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, 1, &numActiveVa… in iterate()
2424 …gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, 1, &activeVaria… in iterate()
2579 for (int bufferNdx = 0; bufferNdx < numAtomicBuffers; ++bufferNdx) in iterate() local
2581 …ogSection section (m_testCtx.getLog(), "Resource", "Resource index " + de::toString(bufferNdx)); in iterate()
2586 …gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, 1, &bufferBindi… in iterate()
2632 for (int bufferNdx = 0; bufferNdx < numAtomicBuffers; ++bufferNdx) in iterate() local
2634 …ogSection section (m_testCtx.getLog(), "Resource", "Resource index " + de::toString(bufferNdx)); in iterate()
2640 …gl.getProgramResourceiv(program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, DE_LENGTH_OF_AR… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp2385 for (size_t bufferNdx = 0; bufferNdx < bufferSizes.size(); bufferNdx++) in iterate() local
2386 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()