Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp976 for (size_t imageNdx = 0; imageNdx < swapchainImages.size(); ++imageNdx) in WsiTriangleRenderer() local
978 …m_attachmentViews[imageNdx] = ImageViewSp(new Unique<VkImageView>(createAttachmentView(vkd, devic… in WsiTriangleRenderer()
979 m_attachmentLayouts[imageNdx] = VK_IMAGE_LAYOUT_UNDEFINED; in WsiTriangleRenderer()
980 …framebuffers[imageNdx] = FramebufferSp(new Unique<VkFramebuffer>(createFramebuffer(vkd, device, *… in WsiTriangleRenderer()
1029 deUint32 imageNdx, in recordFrame() argument
1032 const VkFramebuffer curFramebuffer = **m_framebuffers[imageNdx]; in recordFrame()
1036 if (m_explicitLayoutTransitions || m_attachmentLayouts[imageNdx] == VK_IMAGE_LAYOUT_UNDEFINED) in recordFrame()
1045 …geMemoryBarrier(srcMask, dstMask, m_attachmentLayouts[imageNdx], newLayout, m_aliasImages[imageNdx in recordFrame()
1048 m_attachmentLayouts[imageNdx] = newLayout; in recordFrame()
1068 m_attachmentLayouts[imageNdx], VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, in recordFrame()
[all …]
DvkWsiUtil.hpp156 deUint32 imageNdx,
160 deUint32 imageNdx,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
DvktYCbCrImageQueryTests.cpp487 for (size_t imageNdx = 0; imageNdx < testImages.size(); ++imageNdx) in testImageQuery() local
494 bindImage(vkd, device, *descSet, testImages[imageNdx]->getImageView(), *sampler); in testImageQuery()
502 const UVec2 reference = testImages[imageNdx]->getSize(); in testImageQuery()
507 << TestLog::Message << "ERROR: Image " << imageNdx in testImageQuery()
521 << TestLog::Message << "ERROR: Image " << imageNdx in testImageQuery()
712 for (size_t imageNdx = 0; imageNdx < testImages.size(); ++imageNdx) in testImageQueryLod() local
715 …<< TestLog::Message << "Testing image size " << testImages[imageNdx]->getSize() << TestLog::EndMes… in testImageQueryLod()
717 bindImage(vkd, device, *descSet, testImages[imageNdx]->getImageView(), *sampler); in testImageQueryLod()
725 const Vec2 dtdp = testImages[imageNdx]->getSize().cast<float>() / renderSize.cast<float>(); in testImageQueryLod()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrImageQueryTests.cpp487 for (size_t imageNdx = 0; imageNdx < testImages.size(); ++imageNdx) in testImageQuery() local
494 bindImage(vkd, device, *descSet, testImages[imageNdx]->getImageView(), *sampler); in testImageQuery()
502 const UVec2 reference = testImages[imageNdx]->getSize(); in testImageQuery()
507 << TestLog::Message << "ERROR: Image " << imageNdx in testImageQuery()
521 << TestLog::Message << "ERROR: Image " << imageNdx in testImageQuery()
712 for (size_t imageNdx = 0; imageNdx < testImages.size(); ++imageNdx) in testImageQueryLod() local
715 …<< TestLog::Message << "Testing image size " << testImages[imageNdx]->getSize() << TestLog::EndMes… in testImageQueryLod()
717 bindImage(vkd, device, *descSet, testImages[imageNdx]->getImageView(), *sampler); in testImageQueryLod()
725 const Vec2 dtdp = testImages[imageNdx]->getSize().cast<float>() / renderSize.cast<float>(); in testImageQueryLod()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp556 for (deUint32 imageNdx = 0u; imageNdx < m_parameters.imagesCount; ++imageNdx) in iterate() local
558 const bool isCompressed = compressedNdx == imageNdx ? true : false; in iterate()
559 createImageInfos(imageData[imageNdx], mipMapSizes, isCompressed); in iterate()
560 for (deUint32 infoNdx = 0u; infoNdx < imageData[imageNdx].getImageInfoCount(); ++infoNdx) in iterate()
562 …imageData[imageNdx].addImage(MovePtr<Image>(new Image(vk, device, allocator, imageData[imageNdx].g… in iterate()
574 … imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
582 … imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
620 for (deUint32 imageNdx = 0u; imageNdx < m_parameters.imagesCount; ++imageNdx) in iterate() local
631 …descriptorSetLayoutBuilder.addSingleBinding((compressedNdx == imageNdx) ? VK_DESCRIPTOR_TYPE_COMBI… in iterate()
632 …descriptorPoolBuilder.addType((compressedNdx == imageNdx) ? VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMP… in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp556 for (deUint32 imageNdx = 0u; imageNdx < m_parameters.imagesCount; ++imageNdx) in iterate() local
558 const bool isCompressed = compressedNdx == imageNdx ? true : false; in iterate()
559 createImageInfos(imageData[imageNdx], mipMapSizes, isCompressed); in iterate()
560 for (deUint32 infoNdx = 0u; infoNdx < imageData[imageNdx].getImageInfoCount(); ++infoNdx) in iterate()
562 …imageData[imageNdx].addImage(MovePtr<Image>(new Image(vk, device, allocator, imageData[imageNdx].g… in iterate()
574 … imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
582 … imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), in iterate()
620 for (deUint32 imageNdx = 0u; imageNdx < m_parameters.imagesCount; ++imageNdx) in iterate() local
631 …descriptorSetLayoutBuilder.addSingleBinding((compressedNdx == imageNdx) ? VK_DESCRIPTOR_TYPE_COMBI… in iterate()
632 …descriptorPoolBuilder.addType((compressedNdx == imageNdx) ? VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMP… in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp536 deUint32 imageNdx = ~0u; in colorspaceCompareTest() local
544 &imageNdx); in colorspaceCompareTest()
557 TCU_CHECK((size_t) imageNdx < swapchainImages.size()); in colorspaceCompareTest()
581 &imageNdx, in colorspaceCompareTest()
585 renderer.recordFrame(commandBuffer.get(), imageNdx, 0); in colorspaceCompareTest()
595 &swapchainImages[imageNdx]); in colorspaceCompareTest()
602 &swapchainImages[imageNdx])) in colorspaceCompareTest()
679 deUint32 imageNdx = ~0u; in surfaceFormatRenderTest() local
692 &imageNdx); in surfaceFormatRenderTest()
700 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in surfaceFormatRenderTest()
[all …]
DvktWsiSwapchainTests.cpp1345 deUint32 imageNdx = ~0u; in basicRenderTest() local
1351 …onst VkResult acquireResult = acquireImageWrapper.call(imageReadySemaphore, (VkFence)0, &imageNdx); in basicRenderTest()
1359 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in basicRenderTest()
1385 &imageNdx, in basicRenderTest()
1389 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in basicRenderTest()
1584 deUint32 imageNdx = std::numeric_limits<deUint32>::max(); in multiSwapchainRenderTest() local
1590 …ageWrapper[swapchainIndex].call(frameObjects.imageAvailableSemaphore, (VkFence)DE_NULL, &imageNdx); in multiSwapchainRenderTest()
1597 TCU_CHECK(static_cast<size_t>(imageNdx) < swapchainImages[swapchainIndex].size()); in multiSwapchainRenderTest()
1614 …renderer[swapchainIndex].recordFrame(frameObjects.commandBuffer, imageNdx, static_cast<deUint32>(f… in multiSwapchainRenderTest()
1618 …entInfo.push_back(frameObjects.renderCompleteSemaphore, swapchain[swapchainIndex].get(), imageNdx); in multiSwapchainRenderTest()
[all …]
DvktWsiFullScreenExclusiveTests.cpp491 deUint32 imageNdx = ~0u; in fullScreenExclusiveTest() local
534 &imageNdx); in fullScreenExclusiveTest()
546 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in fullScreenExclusiveTest()
571 &imageNdx, in fullScreenExclusiveTest()
575 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in fullScreenExclusiveTest()
DvktWsiPresentIdWaitTests.cpp481 deUint32 imageNdx = std::numeric_limits<deUint32>::max(); in recordAndSubmitFrame() local
487 &imageNdx); in recordAndSubmitFrame()
493 TCU_CHECK(static_cast<size_t>(imageNdx) < swapchainSize); in recordAndSubmitFrame()
510 …triangleRenderer.recordFrame(frameObjects.commandBuffer, imageNdx, static_cast<deUint32>(frameNumb… in recordAndSubmitFrame()
513 return imageNdx; in recordAndSubmitFrame()
529 …deUint32 imageNdx = recordAndSubmitFrame(frameObjects, renderer, vkd, device, swapchain, swapchain… in run() local
548 &imageNdx, in run()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiColorSpaceTests.cpp536 deUint32 imageNdx = ~0u; in colorspaceCompareTest() local
544 &imageNdx); in colorspaceCompareTest()
557 TCU_CHECK((size_t) imageNdx < swapchainImages.size()); in colorspaceCompareTest()
581 &imageNdx, in colorspaceCompareTest()
585 renderer.recordFrame(commandBuffer.get(), imageNdx, 0); in colorspaceCompareTest()
595 &swapchainImages[imageNdx]); in colorspaceCompareTest()
602 &swapchainImages[imageNdx])) in colorspaceCompareTest()
679 deUint32 imageNdx = ~0u; in surfaceFormatRenderTest() local
692 &imageNdx); in surfaceFormatRenderTest()
700 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in surfaceFormatRenderTest()
[all …]
DvktWsiSwapchainTests.cpp1345 deUint32 imageNdx = ~0u; in basicRenderTest() local
1351 …onst VkResult acquireResult = acquireImageWrapper.call(imageReadySemaphore, (VkFence)0, &imageNdx); in basicRenderTest()
1359 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in basicRenderTest()
1385 &imageNdx, in basicRenderTest()
1389 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in basicRenderTest()
1584 deUint32 imageNdx = std::numeric_limits<deUint32>::max(); in multiSwapchainRenderTest() local
1590 …ageWrapper[swapchainIndex].call(frameObjects.imageAvailableSemaphore, (VkFence)DE_NULL, &imageNdx); in multiSwapchainRenderTest()
1597 TCU_CHECK(static_cast<size_t>(imageNdx) < swapchainImages[swapchainIndex].size()); in multiSwapchainRenderTest()
1614 …renderer[swapchainIndex].recordFrame(frameObjects.commandBuffer, imageNdx, static_cast<deUint32>(f… in multiSwapchainRenderTest()
1618 …entInfo.push_back(frameObjects.renderCompleteSemaphore, swapchain[swapchainIndex].get(), imageNdx); in multiSwapchainRenderTest()
[all …]
DvktWsiFullScreenExclusiveTests.cpp491 deUint32 imageNdx = ~0u; in fullScreenExclusiveTest() local
534 &imageNdx); in fullScreenExclusiveTest()
546 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in fullScreenExclusiveTest()
571 &imageNdx, in fullScreenExclusiveTest()
575 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in fullScreenExclusiveTest()
DvktWsiPresentIdWaitTests.cpp481 deUint32 imageNdx = std::numeric_limits<deUint32>::max(); in recordAndSubmitFrame() local
487 &imageNdx); in recordAndSubmitFrame()
493 TCU_CHECK(static_cast<size_t>(imageNdx) < swapchainSize); in recordAndSubmitFrame()
510 …triangleRenderer.recordFrame(frameObjects.commandBuffer, imageNdx, static_cast<deUint32>(frameNumb… in recordAndSubmitFrame()
513 return imageNdx; in recordAndSubmitFrame()
529 …deUint32 imageNdx = recordAndSubmitFrame(frameObjects, renderer, vkd, device, swapchain, swapchain… in run() local
548 &imageNdx, in run()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp826 deUint32 imageNdx,
1003 for (size_t imageNdx = 0; imageNdx < swapchainImages.size(); ++imageNdx) in TriangleRenderer() local
1005 …m_attachmentViews[imageNdx] = ImageViewSp(new vk::Unique<vk::VkImageView>(createImageView(context,… in TriangleRenderer()
1006 …m_framebuffers[imageNdx] = FramebufferSp(new vk::Unique<vk::VkFramebuffer>(createFramebuffer(conte… in TriangleRenderer()
1010 **m_attachmentViews[imageNdx]))); in TriangleRenderer()
1033 deUint32 imageNdx, in recordFrame() argument
1036 const vk::VkFramebuffer curFramebuffer = **m_framebuffers[imageNdx]; in recordFrame()
1208 deUint32 imageNdx = ~0u; in basicRenderTest() local
1221 &imageNdx); in basicRenderTest()
1229 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in basicRenderTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp826 deUint32 imageNdx,
1003 for (size_t imageNdx = 0; imageNdx < swapchainImages.size(); ++imageNdx) in TriangleRenderer() local
1005 …m_attachmentViews[imageNdx] = ImageViewSp(new vk::Unique<vk::VkImageView>(createImageView(context,… in TriangleRenderer()
1006 …m_framebuffers[imageNdx] = FramebufferSp(new vk::Unique<vk::VkFramebuffer>(createFramebuffer(conte… in TriangleRenderer()
1010 **m_attachmentViews[imageNdx]))); in TriangleRenderer()
1033 deUint32 imageNdx, in recordFrame() argument
1036 const vk::VkFramebuffer curFramebuffer = **m_framebuffers[imageNdx]; in recordFrame()
1208 deUint32 imageNdx = ~0u; in basicRenderTest() local
1221 &imageNdx); in basicRenderTest()
1229 TCU_CHECK((size_t)imageNdx < swapchainImages.size()); in basicRenderTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassUnusedAttachmentSparseFillingTests.cpp304 for (deUint32 imageNdx = 0; imageNdx < m_testParams.activeInputAttachmentCount; ++imageNdx) in InputAttachmentSparseFillingTestInstance() local
428 for (deUint32 imageNdx = 0; imageNdx < m_testParams.activeInputAttachmentCount; ++imageNdx) in InputAttachmentSparseFillingTestInstance() local
DvktRenderPassMultisampleTests.cpp455 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()
DvktRenderPassMultisampleResolveTests.cpp304 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()
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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedAttachmentSparseFillingTests.cpp304 for (deUint32 imageNdx = 0; imageNdx < m_testParams.activeInputAttachmentCount; ++imageNdx) in InputAttachmentSparseFillingTestInstance() local
428 for (deUint32 imageNdx = 0; imageNdx < m_testParams.activeInputAttachmentCount; ++imageNdx) in InputAttachmentSparseFillingTestInstance() local
DvktRenderPassMultisampleTests.cpp455 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()
DvktRenderPassMultisampleResolveTests.cpp304 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp275 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_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp275 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()

12