Home | History | Annotate | Download | only in memory

Lines Matching defs:memory

21  * \brief Buffer and image memory requirements tests.
46 namespace memory
341 return allPass ? tcu::TestStatus::pass("Pass") : tcu::TestStatus::fail("Some memory requirements were incorrect");
395 result.fail("VkMemoryRequirements memoryTypeBits contains bits for non-existing memory types");
408 "Memory type includes VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT");
433 "None of the required memory types included VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT");
436 "Required memory
439 "Memory type bits aren't a superset of memory type bits for all usage flags combined");
627 "Preferred and required flags for dedicated memory cannot be set to true at the same time");
824 result.fail("VkMemoryRequirements memoryTypeBits contains bits for non-existing memory types");
839 "Memory type includes VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT for a non-transient attachment image");
847 "None of the required memory types included VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT");
850 "Required memory type doesn't include VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT and VK_MEMORY_PROPERTY_HOST_COHERENT_BIT");
1321 log << tcu::TestLog::Message << "Verify memory requirements for the following parameter combinations:" << tcu::TestLog::EndMessage;
1395 return allPass ? tcu::TestStatus::pass("Pass") : tcu::TestStatus::fail("Some memory requirements were incorrect");
1542 "Preferred and required flags for dedicated memory cannot be set to true at the same time");
1665 log << TestLog::Message << "Memory properties: " << memoryProperties << TestLog::EndMessage;
1728 if (result.check(requirements.memoryRequirements.memoryTypeBits != 0, "No supported memory types"))
1734 if (result.check(memoryTypeIndex < memoryProperties.memoryTypeCount, "Unknown memory type bits set in memory requirements"))
1744 "Memory type includes VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT for a non-transient attachment image");
1751 result.check(params.tiling != VK_IMAGE_TILING_LINEAR || hasHostVisibleType, "Required memory type doesn't include VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT");
1811 de::MovePtr<tcu::TestCaseGroup> requirementsGroup(new tcu::TestCaseGroup(testCtx, "requirements", "Buffer and image memory requirements"));
1813 requirementsGroup->addChild(createTestGroup(testCtx, "core", "Memory requirements tests with core functionality", populateCoreTestGroup));
1814 requirementsGroup->addChild(createTestGroup(testCtx, "extended", "Memory requirements tests with extension VK_KHR_get_memory_requirements2", populateExtendedTestGroup));
1815 requirementsGroup->addChild(createTestGroup(testCtx, "dedicated_allocation", "Memory requirements tests with extension VK_KHR_dedicated_allocation", populateDedicatedAllocationTestGroup));
1816 requirementsGroup->addChild(createTestGroup(testCtx, "multiplane_image", "Memory requirements tests with vkGetImagePlaneMemoryRequirements", populateMultiplaneTestGroup));
1821 } // memory