Home
last modified time | relevance | path

Searched refs:imageNdx (Results 1 – 15 of 15) sorted by relevance

/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp815 for (size_t imageNdx = 0; imageNdx < swapchainImages.size(); ++imageNdx) in WsiTriangleRenderer() local
817 …m_attachmentViews[imageNdx] = ImageViewSp(new Unique<VkImageView>(createAttachmentView(vkd, devic… in WsiTriangleRenderer()
818 m_attachmentLayouts[imageNdx] = VK_IMAGE_LAYOUT_UNDEFINED; in WsiTriangleRenderer()
819 …framebuffers[imageNdx] = FramebufferSp(new Unique<VkFramebuffer>(createFramebuffer(vkd, device, *… in WsiTriangleRenderer()
868 deUint32 imageNdx, in recordFrame() argument
871 const VkFramebuffer curFramebuffer = **m_framebuffers[imageNdx]; in recordFrame()
875 if (m_explicitLayoutTransitions || m_attachmentLayouts[imageNdx] == VK_IMAGE_LAYOUT_UNDEFINED) in recordFrame()
884 …geMemoryBarrier(srcMask, dstMask, m_attachmentLayouts[imageNdx], newLayout, m_aliasImages[imageNdx in recordFrame()
887 m_attachmentLayouts[imageNdx] = newLayout; in recordFrame()
907 m_attachmentLayouts[imageNdx], VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, in recordFrame()
[all …]
DvkWsiUtil.hpp150 deUint32 imageNdx,
154 deUint32 imageNdx,
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrImageQueryTests.cpp479 for (size_t imageNdx = 0; imageNdx < testImages.size(); ++imageNdx) in testImageQuery() local
486 bindImage(vkd, device, *descSet, testImages[imageNdx]->getImageView(), *sampler); in testImageQuery()
494 const UVec2 reference = testImages[imageNdx]->getSize(); in testImageQuery()
499 << TestLog::Message << "ERROR: Image " << imageNdx in testImageQuery()
513 << TestLog::Message << "ERROR: Image " << imageNdx in testImageQuery()
702 for (size_t imageNdx = 0; imageNdx < testImages.size(); ++imageNdx) in testImageQueryLod() local
705 …<< TestLog::Message << "Testing image size " << testImages[imageNdx]->getSize() << TestLog::EndMes… in testImageQueryLod()
707 bindImage(vkd, device, *descSet, testImages[imageNdx]->getImageView(), *sampler); in testImageQueryLod()
715 const Vec2 dtdp = testImages[imageNdx]->getSize().cast<float>() / renderSize.cast<float>(); in testImageQueryLod()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp551 for (deUint32 imageNdx = 0u; imageNdx < m_parameters.imagesCount; ++imageNdx) in iterate() local
553 const bool isCompressed = compressedNdx == imageNdx ? true : false; in iterate()
554 createImageInfos(imageData[imageNdx], mipMapSizes, isCompressed); in iterate()
555 for (deUint32 infoNdx = 0u; infoNdx < imageData[imageNdx].getImageInfoCount(); ++infoNdx) in iterate()
557 …imageData[imageNdx].addImage(MovePtr<Image>(new Image(vk, device, allocator, imageData[imageNdx].g… in iterate()
569 … imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
577 … imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
615 for (deUint32 imageNdx = 0u; imageNdx < m_parameters.imagesCount; ++imageNdx) in iterate() local
626 …descriptorSetLayoutBuilder.addSingleBinding((compressedNdx == imageNdx) ? VK_DESCRIPTOR_TYPE_COMBI… in iterate()
627 …descriptorPoolBuilder.addType((compressedNdx == imageNdx) ? VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMP… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp583 deUint32 imageNdx = ~0u; in colorspaceCompareTest() local
591 &imageNdx); in colorspaceCompareTest()
604 TCU_CHECK((size_t) imageNdx < swapchainImages.size()); in colorspaceCompareTest()
628 &imageNdx, in colorspaceCompareTest()
632 renderer.recordFrame(commandBuffer.get(), imageNdx, 0); in colorspaceCompareTest()
642 &swapchainImages[imageNdx]); in colorspaceCompareTest()
649 &swapchainImages[imageNdx])) in colorspaceCompareTest()
723 deUint32 imageNdx = ~0u; in surfaceFormatRenderTest() local
736 &imageNdx); in surfaceFormatRenderTest()
744 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in surfaceFormatRenderTest()
[all …]
DvktWsiSwapchainTests.cpp1405 deUint32 imageNdx = ~0u; in basicRenderTest() local
1411 …onst VkResult acquireResult = acquireImageWrapper.call(imageReadySemaphore, (VkFence)0, &imageNdx); in basicRenderTest()
1419 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in basicRenderTest()
1445 &imageNdx, in basicRenderTest()
1449 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in basicRenderTest()
1637 deUint32 imageNdx = std::numeric_limits<deUint32>::max(); in multiSwapchainRenderTest() local
1643 …ageWrapper[swapchainIndex].call(frameObjects.imageAvailableSemaphore, (VkFence)DE_NULL, &imageNdx); in multiSwapchainRenderTest()
1650 TCU_CHECK(static_cast<size_t>(imageNdx) < swapchainImages[swapchainIndex].size()); in multiSwapchainRenderTest()
1667 …renderer[swapchainIndex].recordFrame(frameObjects.commandBuffer, imageNdx, static_cast<deUint32>(f… in multiSwapchainRenderTest()
1671 …entInfo.push_back(frameObjects.renderCompleteSemaphore, swapchain[swapchainIndex].get(), imageNdx); in multiSwapchainRenderTest()
[all …]
DvktWsiFullScreenExclusiveTests.cpp487 deUint32 imageNdx = ~0u; in fullScreenExclusiveTest() local
530 &imageNdx); in fullScreenExclusiveTest()
542 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in fullScreenExclusiveTest()
567 &imageNdx, in fullScreenExclusiveTest()
571 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in fullScreenExclusiveTest()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp830 deUint32 imageNdx,
1007 for (size_t imageNdx = 0; imageNdx < swapchainImages.size(); ++imageNdx) in TriangleRenderer() local
1009 …m_attachmentViews[imageNdx] = ImageViewSp(new vk::Unique<vk::VkImageView>(createImageView(context,… in TriangleRenderer()
1010 …m_framebuffers[imageNdx] = FramebufferSp(new vk::Unique<vk::VkFramebuffer>(createFramebuffer(conte… in TriangleRenderer()
1014 **m_attachmentViews[imageNdx]))); in TriangleRenderer()
1037 deUint32 imageNdx, in recordFrame() argument
1040 const vk::VkFramebuffer curFramebuffer = **m_framebuffers[imageNdx]; in recordFrame()
1212 deUint32 imageNdx = ~0u; in basicRenderTest() local
1225 &imageNdx); in basicRenderTest()
1233 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in basicRenderTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedAttachmentSparseFillingTests.cpp303 for (deUint32 imageNdx = 0; imageNdx < m_testParams.activeInputAttachmentCount; ++imageNdx) in InputAttachmentSparseFillingTestInstance() local
427 for (deUint32 imageNdx = 0; imageNdx < m_testParams.activeInputAttachmentCount; ++imageNdx) in InputAttachmentSparseFillingTestInstance() local
DvktRenderPassMultisampleTests.cpp456 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createMultisampleImages() local
457 …images[imageNdx] = safeSharedPtr(new vk::Unique<VkImage>(createImage(vki, physicalDevice, vkd, dev… in createMultisampleImages()
473 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createSingleSampleImages() local
474 …images[imageNdx] = safeSharedPtr(new vk::Unique<VkImage>(createImage(vki, physicalDevice, vkd, dev… in createSingleSampleImages()
500 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createImageAttachmentViews() local
501 …views[imageNdx] = safeSharedPtr(new vk::Unique<VkImageView>(createImageAttachmentView(vkd, device,… in createImageAttachmentViews()
DvktRenderPassSubpassDependencyTests.cpp538 for (size_t imageNdx = 0; imageNdx < renderPasses.size(); imageNdx++) in createAndAllocateImages() local
569 …ion>)allocator.allocate(getImageMemoryRequirements(vk, device, **images[imageNdx]), MemoryRequirem… in createAndAllocateImages()
570 …HECK(vk.bindImageMemory(device, **images[imageNdx], imageMemories[imageNdx]->getMemory(), imageMem… in createAndAllocateImages()
1146 for (size_t imageNdx = 0; imageNdx < renderPassInfo.getAttachments().size(); imageNdx++) in createAndAllocateImages() local
1181 …ion>)allocator.allocate(getImageMemoryRequirements(vk, device, **images[imageNdx]), MemoryRequirem… in createAndAllocateImages()
1182 …HECK(vk.bindImageMemory(device, **images[imageNdx], imageMemories[imageNdx]->getMemory(), imageMem… in createAndAllocateImages()
DvktRenderPassMultisampleResolveTests.cpp276 for (size_t imageNdx = 0; imageNdx < m_attachmentsCount; imageNdx++) in createImages() local
277 images[imageNdx] = safeSharedPtr(new Unique<VkImage>(createImage(sampleCountBit, usage))); in createImages()
314 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createImageViews() local
321 **images[imageNdx], in createImageViews()
327 …views[imageNdx] = safeSharedPtr(new Unique<VkImageView>(createImageView(vkd, device, &pCreateInfo)… in createImageViews()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp273 deUint32 imageNdx = 0u; in createDescriptorSet() local
290 …ilder::Location::binding(descriptorNdx), dtypes[descriptorNdx], &descriptorImageInfos[imageNdx++]); in createDescriptorSet()
590 deUint32 imageNdx = 0u; in iterate() local
615 **inputImages[imageNdx++], // VkImage image; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp3625 int imageNdx);
3682 for (int imageNdx = 0; imageNdx < numImages; imageNdx++) in createSourceImages() local
3683 populateSourceImage(&sourceImages.at(imageNdx), viewType, imageNdx); in createSourceImages()
3701 for (int imageNdx = 0; imageNdx < (int)sourceImages.size(); imageNdx++) in createImages() local
3704 …e = createImage(vki, device, allocator, descriptorType, viewType, sourceImages[imageNdx], &memory); in createImages()
3706 …vki, device, queueFamilyIndex, queue, allocator, *image, layout, viewType, sourceImages[imageNdx]); in createImages()
3723 for (int imageNdx = 0; imageNdx < (int)sourceImages.size(); imageNdx++) in createImageViews() local
3725 …ageView = createImageView(vki, device, viewType, sourceImages[imageNdx], **images[imageNdx], baseM… in createImageViews()
3831 …es::populateSourceImage (tcu::TextureLevelPyramid* dst, vk::VkImageViewType viewType, int imageNdx) in populateSourceImage() argument
3860 …int blue = (128 * level / numLevels) + ((imageNdx % 2 == 0) ? 127 : 0); //!< level and image … in populateSourceImage()
[all …]
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp2783 int imageNdx = m_random.getInt(0, resourceManager.getImageCount()-1); in addRandomOperation() local
2784 SharedPtr<GLES2ThreadTest::EGLImage> image = resourceManager.popImage(imageNdx); in addRandomOperation()
2791 int imageNdx = m_random.getInt(0, resourceManager.getImageCount()-1); in addRandomOperation() local
2793 SharedPtr<GLES2ThreadTest::EGLImage> image = resourceManager.popImage(imageNdx); in addRandomOperation()