Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrImageQueryTests.cpp427 for (size_t imageNdx = 0; imageNdx < testImages.size(); ++imageNdx) in testImageQuery() local
434 bindImage(vkd, device, *descSet, testImages[imageNdx]->getImageView(), *sampler); in testImageQuery()
442 const UVec2 reference = testImages[imageNdx]->getSize(); in testImageQuery()
447 << TestLog::Message << "ERROR: Image " << imageNdx in testImageQuery()
461 << TestLog::Message << "ERROR: Image " << imageNdx in testImageQuery()
627 for (size_t imageNdx = 0; imageNdx < testImages.size(); ++imageNdx) in testImageQueryLod() local
630 …<< TestLog::Message << "Testing image size " << testImages[imageNdx]->getSize() << TestLog::EndMes… in testImageQueryLod()
632 bindImage(vkd, device, *descSet, testImages[imageNdx]->getImageView(), *sampler); in testImageQueryLod()
639 const Vec2 dtdp = testImages[imageNdx]->getSize().cast<float>() / renderSize.cast<float>(); in testImageQueryLod()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp409 deUint32 imageNdx,
669 for (size_t imageNdx = 0; imageNdx < swapchainImages.size(); ++imageNdx) in TriangleRenderer() local
671 …m_attachmentViews[imageNdx] = ImageViewSp(new Unique<VkImageView>(createAttachmentView(vkd, device… in TriangleRenderer()
672 …framebuffers[imageNdx] = FramebufferSp(new Unique<VkFramebuffer>(createFramebuffer(vkd, device, *m… in TriangleRenderer()
704 deUint32 imageNdx, in recordFrame() argument
707 const VkFramebuffer curFramebuffer = **m_framebuffers[imageNdx]; in recordFrame()
881 deUint32 imageNdx = ~0u; in surfaceFormatRenderTest() local
894 &imageNdx); in surfaceFormatRenderTest()
902 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in surfaceFormatRenderTest()
928 &imageNdx, in surfaceFormatRenderTest()
[all …]
DvktWsiSwapchainTests.cpp796 deUint32 imageNdx,
1056 for (size_t imageNdx = 0; imageNdx < swapchainImages.size(); ++imageNdx) in TriangleRenderer() local
1058 …m_attachmentViews[imageNdx] = ImageViewSp(new Unique<VkImageView>(createAttachmentView(vkd, device… in TriangleRenderer()
1059 …framebuffers[imageNdx] = FramebufferSp(new Unique<VkFramebuffer>(createFramebuffer(vkd, device, *m… in TriangleRenderer()
1091 deUint32 imageNdx, in recordFrame() argument
1094 const VkFramebuffer curFramebuffer = **m_framebuffers[imageNdx]; in recordFrame()
1230 deUint32 imageNdx = ~0u; in basicRenderTest() local
1243 &imageNdx); in basicRenderTest()
1251 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in basicRenderTest()
1277 &imageNdx, in basicRenderTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp550 for (deUint32 imageNdx = 0u; imageNdx < m_parameters.imagesCount; ++imageNdx) in iterate() local
552 const bool isCompressed = compressedNdx == imageNdx ? true : false; in iterate()
553 createImageInfos(imageData[imageNdx], mipMapSizes, isCompressed); in iterate()
554 for (deUint32 infoNdx = 0u; infoNdx < imageData[imageNdx].getImageInfoCount(); ++infoNdx) in iterate()
556 …imageData[imageNdx].addImage(MovePtr<Image>(new Image(vk, device, allocator, imageData[imageNdx].g… in iterate()
568 … imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
576 … imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
614 for (deUint32 imageNdx = 0u; imageNdx < m_parameters.imagesCount; ++imageNdx) in iterate() local
625 …descriptorSetLayoutBuilder.addSingleBinding((compressedNdx == imageNdx) ? VK_DESCRIPTOR_TYPE_COMBI… in iterate()
626 …descriptorPoolBuilder.addType((compressedNdx == imageNdx) ? VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMP… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp808 deUint32 imageNdx,
985 for (size_t imageNdx = 0; imageNdx < swapchainImages.size(); ++imageNdx) in TriangleRenderer() local
987 …m_attachmentViews[imageNdx] = ImageViewSp(new vk::Unique<vk::VkImageView>(createImageView(context,… in TriangleRenderer()
988 …m_framebuffers[imageNdx] = FramebufferSp(new vk::Unique<vk::VkFramebuffer>(createFramebuffer(conte… in TriangleRenderer()
992 **m_attachmentViews[imageNdx]))); in TriangleRenderer()
1015 deUint32 imageNdx, in recordFrame() argument
1018 const vk::VkFramebuffer curFramebuffer = **m_framebuffers[imageNdx]; in recordFrame()
1190 deUint32 imageNdx = ~0u; in basicRenderTest() local
1203 &imageNdx); in basicRenderTest()
1211 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in basicRenderTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp358 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createMultisampleImages() local
359 …images[imageNdx] = safeSharedPtr(new Unique<VkImage>(createImage(vki, physicalDevice, vkd, device,… in createMultisampleImages()
375 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createSingleSampleImages() local
376 …images[imageNdx] = safeSharedPtr(new Unique<VkImage>(createImage(vki, physicalDevice, vkd, device,… in createSingleSampleImages()
403 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createImageViews() local
404 …views[imageNdx] = safeSharedPtr(new Unique<VkImageView>(createImageView(vkd, device, **images[imag… in createImageViews()
DvktRenderPassMultisampleTests.cpp384 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createMultisampleImages() local
385 …images[imageNdx] = safeSharedPtr(new vk::Unique<VkImage>(createImage(vki, physicalDevice, vkd, dev… in createMultisampleImages()
401 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createSingleSampleImages() local
402 …images[imageNdx] = safeSharedPtr(new vk::Unique<VkImage>(createImage(vki, physicalDevice, vkd, dev… in createSingleSampleImages()
428 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createImageAttachmentViews() local
429 …views[imageNdx] = safeSharedPtr(new vk::Unique<VkImageView>(createImageAttachmentView(vkd, device,… in createImageAttachmentViews()
DvktRenderPassSubpassDependencyTests.cpp433 for (size_t imageNdx = 0; imageNdx < renderPasses.size(); imageNdx++) in createAndAllocateImages() local
464 …ion>)allocator.allocate(getImageMemoryRequirements(vk, device, **images[imageNdx]), MemoryRequirem… in createAndAllocateImages()
465 …HECK(vk.bindImageMemory(device, **images[imageNdx], imageMemories[imageNdx]->getMemory(), imageMem… in createAndAllocateImages()
1047 for (size_t imageNdx = 0; imageNdx < renderPassInfo.getAttachments().size(); imageNdx++) in createAndAllocateImages() local
1082 …ion>)allocator.allocate(getImageMemoryRequirements(vk, device, **images[imageNdx]), MemoryRequirem… in createAndAllocateImages()
1083 …HECK(vk.bindImageMemory(device, **images[imageNdx], imageMemories[imageNdx]->getMemory(), imageMem… in createAndAllocateImages()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp265 deUint32 imageNdx = 0u; in createDescriptorSet() local
282 …ilder::Location::binding(descriptorNdx), dtypes[descriptorNdx], &descriptorImageInfos[imageNdx++]); in createDescriptorSet()
549 deUint32 imageNdx = 0u; in iterate() local
574 **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()