Lines Matching refs:memoryRequirements
579 …const deUint32 heapTypeIndex = static_cast<deUint32>(deCtz32(memReqs.memoryRequirements.m… in bufferCreateAndAllocTest()
591 memReqs.memoryRequirements.alignment, in bufferCreateAndAllocTest()
595 size = deAlign64(std::min(size, maxBufferSize >> 1), memReqs.memoryRequirements.alignment); in bufferCreateAndAllocTest()
609 size = deAlign64(size >> shrinkBits, memReqs.memoryRequirements.alignment); in bufferCreateAndAllocTest()
611 if (size == 0 || bufferParams.size == memReqs.memoryRequirements.alignment) in bufferCreateAndAllocTest()
623 if (size > memReqs.memoryRequirements.size) in bufferCreateAndAllocTest()
626 …errorMsg << "Requied memory size (" << memReqs.memoryRequirements.size << " bytes) smaller than th… in bufferCreateAndAllocTest()
648 memReqs.memoryRequirements.size, // VkDeviceSize allocationSize in bufferCreateAndAllocTest()
656 size = deAlign64(size >> shrinkBits, memReqs.memoryRequirements.alignment); in bufferCreateAndAllocTest()
658 if (size == 0 || memReqs.memoryRequirements.size == memReqs.memoryRequirements.alignment) in bufferCreateAndAllocTest()
659 …return tcu::TestStatus::fail("Unable to allocate " + de::toString(memReqs.memoryRequirements.size)… in bufferCreateAndAllocTest()