Home
last modified time | relevance | path

Searched refs:memoryTypeBits (Results 1 – 24 of 24) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp130 …if (result.check(requirements.memoryTypeBits != 0, "VkMemoryRequirements memoryTypeBits has no bit… in verifyBufferRequirements()
133 …st std::vector<deUint32> usedMemoryTypeIndices = bitsToIndices(requirements.memoryTypeBits); in verifyBufferRequirements()
184 …sult.check((requirements.memoryTypeBits & allUsageFlagsRequirements.memoryTypeBits) == allUsageFla… in verifyBufferRequirements()
237 result.check(requirements.memoryTypeBits == previousMemoryTypeBits, in testBuffer()
247 previousMemoryTypeBits = requirements.memoryTypeBits; in testBuffer()
465 …if (result.check(requirements.memoryTypeBits != 0, "VkMemoryRequirements memoryTypeBits has no bit… in verifyImageRequirements()
468 …st std::vector<deUint32> usedMemoryTypeIndices = bitsToIndices(requirements.memoryTypeBits); in verifyImageRequirements()
615 …result.check((previousMemoryTypeBits == notInitializedBits) || (requirements.memoryTypeBits == pre… in testImage()
621 previousMemoryTypeBits = requirements.memoryTypeBits; in testImage()
DvktMemoryPipelineBarrierTests.cpp607 if ((memoryRequirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in bindBufferMemory()
657 if ((memoryRequirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in bindImageMemory()
863 if (requirements.size == memorySize && requirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in findMaxBufferSize()
872 if (requirements.size <= memorySize && requirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in findMaxBufferSize()
981 if (requirements.size <= memorySize && requirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in findMaxRGBA8ImageSize()
/external/skia/src/gpu/vk/
DGrVkMemory.cpp72 memReqs.memoryTypeBits, in AllocAndBindBufferMemory()
79 memReqs.memoryTypeBits, in AllocAndBindBufferMemory()
91 memReqs.memoryTypeBits, in AllocAndBindBufferMemory()
103 !get_valid_memory_type_index(phDevMemProps, memReqs.memoryTypeBits, in AllocAndBindBufferMemory()
158 memReqs.memoryTypeBits, in AllocAndBindImageMemory()
164 memReqs.memoryTypeBits, in AllocAndBindImageMemory()
176 memReqs.memoryTypeBits, in AllocAndBindImageMemory()
191 !get_valid_memory_type_index(phDevMemProps, memReqs.memoryTypeBits, in AllocAndBindImageMemory()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl26 …rements makeMemoryRequirements (VkDeviceSize size, VkDeviceSize alignment, deUint32 memoryTypeBits) argument
31 res.memoryTypeBits = memoryTypeBits;
DvkMemUtil.cpp192 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(m_memProps, memReqs.memoryTypeBits, req… in allocate()
DvkNullDriver.cpp819 requirements->memoryTypeBits = 1u; in getBufferMemoryRequirements()
856 requirements->memoryTypeBits = 1u; in getImageMemoryRequirements()
DvkStructTypes.inl351 deUint32 memoryTypeBits; member
DvkStrUtilImpl.inl2064 s << "\tmemoryTypeBits = " << value.memoryTypeBits << '\n';
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewCreateTests.cpp143 (deUint32)deCtz32(memReqs.memoryTypeBits) // deUint32 memoryTypeIndex in iterate()
DvktApiBufferTests.cpp243 const deUint32 heapTypeIndex = (deUint32)deCtz32(memReqs.memoryTypeBits); in bufferCreateAndAllocTest()
DvktApiObjectManagementTests.cpp615 return DeviceMemory::Parameters(memReqs.size, deCtz32(memReqs.memoryTypeBits)); in getDeviceMemoryParameters()
/external/vulkan-validation-layers/demos/smoke/
DMeshes.cpp516 uint32_t mem_types = (vb_mem_reqs.memoryTypeBits & ib_mem_reqs.memoryTypeBits); in allocate_resources()
DSmoke.cpp497 if ((mem_reqs.memoryTypeBits & (1 << idx)) && in create_buffer_memory()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp646 …bool pass = aVulkanDevice->phy().set_memory_type(memory_requirements.memoryTypeBits, &memory_alloc… in VkBufferTest()
1343 …pass = m_device->phy().set_memory_type(buff_mem_reqs.memoryTypeBits & img_mem_reqs.memoryTypeBits,… in TEST_F()
1411 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
1467 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
1755 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0, VK_MEMORY_PROPERTY_… in TEST_F()
1828 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
2249 if ((mem_reqs.memoryTypeBits & (1 << i)) == 0) { in TEST_F()
2319 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
2384 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
2633 pass = m_device->phy().set_memory_type(memReqs.memoryTypeBits, &memAlloc, 0); in TEST_F()
[all …]
Dvktestbinding.cpp69 dev.phy().set_memory_type(reqs.memoryTypeBits, &info, mem_props); in get_resource_alloc_info()
/external/vulkan-validation-layers/demos/
Dcube.cpp1476 mem_reqs.memoryTypeBits, in prepare_cube_data_buffer()
1531 mem_reqs.memoryTypeBits, vk::MemoryPropertyFlagBits(0), in prepare_depth()
1874 memory_type_from_properties(mem_reqs.memoryTypeBits, required_props, in prepare_texture_image()
Dcube.c1126 pass = memory_type_from_properties(demo, mem_reqs.memoryTypeBits, in demo_prepare_depth()
1274 pass = memory_type_from_properties(demo, mem_reqs.memoryTypeBits, in demo_prepare_texture_image()
1498 demo, mem_reqs.memoryTypeBits, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in demo_prepare_cube_data_buffer()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp900 if ((objectMemoryRequirements.memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in findMatchingMemoryType()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1540 if ((memoryRequirements.memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in uploadSparseImage()
1586 memoryRequirements.memoryTypeBits, // uint32_t memoryTypeBits; in uploadSparseImage()
1633 memoryRequirements.memoryTypeBits, // uint32_t memoryTypeBits; in uploadSparseImage()
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.h1502 uint32_t memoryTypeBits; member
Dvulkan.hpp2916 && ( memoryTypeBits == rhs.memoryTypeBits ); in operator ==()
2926 uint32_t memoryTypeBits; member
/external/deqp/external/vulkancts/scripts/src/
Dvulkan.h.in1536 uint32_t memoryTypeBits; member
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp5855 …skip_call |= ValidateMemoryTypes(dev_data, mem_info, memRequirements.memoryTypeBits, "BindBufferMe… in BindBufferMemory()
11101 …skip_call |= ValidateMemoryTypes(dev_data, mem_info, memRequirements.memoryTypeBits, "vkBindImageM… in BindImageMemory()
Dvk_validation_error_database.txt790 …ust have been allocated using one of the memory types allowed in the memoryTypeBits member of the …
799 …ust have been allocated using one of the memory types allowed in the memoryTypeBits member of the …