/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkWsiUtil.cpp | 815 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 …]
|
D | vkWsiUtil.hpp | 150 deUint32 imageNdx, 154 deUint32 imageNdx,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrImageQueryTests.cpp | 479 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() 704 for (size_t imageNdx = 0; imageNdx < testImages.size(); ++imageNdx) in testImageQueryLod() local 707 …<< TestLog::Message << "Testing image size " << testImages[imageNdx]->getSize() << TestLog::EndMes… in testImageQueryLod() 709 bindImage(vkd, device, *descSet, testImages[imageNdx]->getImageView(), *sampler); in testImageQueryLod() 717 const Vec2 dtdp = testImages[imageNdx]->getSize().cast<float>() / renderSize.cast<float>(); in testImageQueryLod()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageCompressionTranscodingSupport.cpp | 551 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiColorSpaceTests.cpp | 534 deUint32 imageNdx = ~0u; in colorspaceCompareTest() local 542 &imageNdx); in colorspaceCompareTest() 555 TCU_CHECK((size_t) imageNdx < swapchainImages.size()); in colorspaceCompareTest() 579 &imageNdx, in colorspaceCompareTest() 583 renderer.recordFrame(commandBuffer.get(), imageNdx, 0); in colorspaceCompareTest() 593 &swapchainImages[imageNdx]); in colorspaceCompareTest() 600 &swapchainImages[imageNdx])) in colorspaceCompareTest() 677 deUint32 imageNdx = ~0u; in surfaceFormatRenderTest() local 690 &imageNdx); in surfaceFormatRenderTest() 698 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in surfaceFormatRenderTest() [all …]
|
D | vktWsiSwapchainTests.cpp | 1341 deUint32 imageNdx = ~0u; in basicRenderTest() local 1347 …onst VkResult acquireResult = acquireImageWrapper.call(imageReadySemaphore, (VkFence)0, &imageNdx); in basicRenderTest() 1355 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in basicRenderTest() 1381 &imageNdx, in basicRenderTest() 1385 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in basicRenderTest() 1573 deUint32 imageNdx = std::numeric_limits<deUint32>::max(); in multiSwapchainRenderTest() local 1579 …ageWrapper[swapchainIndex].call(frameObjects.imageAvailableSemaphore, (VkFence)DE_NULL, &imageNdx); in multiSwapchainRenderTest() 1586 TCU_CHECK(static_cast<size_t>(imageNdx) < swapchainImages[swapchainIndex].size()); in multiSwapchainRenderTest() 1603 …renderer[swapchainIndex].recordFrame(frameObjects.commandBuffer, imageNdx, static_cast<deUint32>(f… in multiSwapchainRenderTest() 1607 …entInfo.push_back(frameObjects.renderCompleteSemaphore, swapchain[swapchainIndex].get(), imageNdx); in multiSwapchainRenderTest() [all …]
|
D | vktWsiFullScreenExclusiveTests.cpp | 489 deUint32 imageNdx = ~0u; in fullScreenExclusiveTest() local 532 &imageNdx); in fullScreenExclusiveTest() 544 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in fullScreenExclusiveTest() 569 &imageNdx, in fullScreenExclusiveTest() 573 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in fullScreenExclusiveTest()
|
D | vktWsiPresentIdWaitTests.cpp | 458 deUint32 imageNdx = std::numeric_limits<deUint32>::max(); in recordAndSubmitFrame() local 464 &imageNdx); in recordAndSubmitFrame() 470 TCU_CHECK(static_cast<size_t>(imageNdx) < swapchainSize); in recordAndSubmitFrame() 487 …triangleRenderer.recordFrame(frameObjects.commandBuffer, imageNdx, static_cast<deUint32>(frameNumb… in recordAndSubmitFrame() 490 return imageNdx; in recordAndSubmitFrame() 506 …deUint32 imageNdx = recordAndSubmitFrame(frameObjects, renderer, vkd, device, swapchain, swapchain… in run() local 525 &imageNdx, in run()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 830 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassUnusedAttachmentSparseFillingTests.cpp | 303 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
|
D | vktRenderPassMultisampleTests.cpp | 455 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createMultisampleImages() local 456 …images[imageNdx] = safeSharedPtr(new vk::Unique<VkImage>(createImage(vki, physicalDevice, vkd, dev… in createMultisampleImages() 472 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createSingleSampleImages() local 473 …images[imageNdx] = safeSharedPtr(new vk::Unique<VkImage>(createImage(vki, physicalDevice, vkd, dev… in createSingleSampleImages() 499 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createImageAttachmentViews() local 500 …views[imageNdx] = safeSharedPtr(new vk::Unique<VkImageView>(createImageAttachmentView(vkd, device,… in createImageAttachmentViews()
|
D | vktRenderPassMultisampleResolveTests.cpp | 304 for (size_t imageNdx = 0; imageNdx < m_attachmentsCount; imageNdx++) in createImages() local 305 images[imageNdx] = safeSharedPtr(new Unique<VkImage>(createImage(sampleCountBit, usage))); in createImages() 316 for (size_t imageNdx = 0; imageNdx < m_attachmentsCount; imageNdx++) in createImages() local 317 …images[imageNdx] = safeSharedPtr(new Unique<VkImage>(createImage(sampleCountBit, usage, width, hei… in createImages() 354 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createImageViews() local 361 **images[imageNdx], in createImageViews() 367 …views[imageNdx] = safeSharedPtr(new Unique<VkImageView>(createImageView(vkd, device, &pCreateInfo)… in createImageViews()
|
D | vktRenderPassSubpassDependencyTests.cpp | 538 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderCase.cpp | 275 deUint32 imageNdx = 0u; in createDescriptorSet() local 292 …ilder::Location::binding(descriptorNdx), dtypes[descriptorNdx], &descriptorImageInfos[imageNdx++]); in createDescriptorSet() 563 deUint32 imageNdx = 0u; in iterate() local 588 **inputImages[imageNdx++], // VkImage image; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 3620 int imageNdx); 3677 for (int imageNdx = 0; imageNdx < numImages; imageNdx++) in createSourceImages() local 3678 populateSourceImage(&sourceImages.at(imageNdx), viewType, imageNdx); in createSourceImages() 3696 for (int imageNdx = 0; imageNdx < (int)sourceImages.size(); imageNdx++) in createImages() local 3699 …e = createImage(vki, device, allocator, descriptorType, viewType, sourceImages[imageNdx], &memory); in createImages() 3701 …vki, device, queueFamilyIndex, queue, allocator, *image, layout, viewType, sourceImages[imageNdx]); in createImages() 3718 for (int imageNdx = 0; imageNdx < (int)sourceImages.size(); imageNdx++) in createImageViews() local 3720 …ageView = createImageView(vki, device, viewType, sourceImages[imageNdx], **images[imageNdx], baseM… in createImageViews() 3826 …es::populateSourceImage (tcu::TextureLevelPyramid* dst, vk::VkImageViewType viewType, int imageNdx) in populateSourceImage() argument 3855 …int blue = (128 * level / numLevels) + ((imageNdx % 2 == 0) ? 127 : 0); //!< level and image … in populateSourceImage() [all …]
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglGLES2SharingThreadedTests.cpp | 2783 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()
|