Home
last modified time | relevance | path

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

1234567

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp420 result.check(m_currentTestRequirements.memoryTypeBits == previousMemoryTypeBits, in execTest()
430 previousMemoryTypeBits = m_currentTestRequirements.memoryTypeBits; in execTest()
464 …if (result.check(m_currentTestRequirements.memoryTypeBits != 0, "VkMemoryRequirements memoryTypeBi… in verifyMemoryRequirements()
467 …r<deUint32> usedMemoryTypeIndices = bitsToIndices(m_currentTestRequirements.memoryTypeBits); in verifyMemoryRequirements()
518 …urrentTestRequirements.memoryTypeBits & m_allUsageFlagsRequirements.memoryTypeBits) == m_allUsageF… in verifyMemoryRequirements()
771 …result.check(m_currentTestRequirements.memoryTypeBits == m_currentTestOriginalRequirements.memoryT… in verifyMemoryRequirements()
964 …if (result.check(m_currentTestRequirements.memoryTypeBits != 0, "VkMemoryRequirements memoryTypeBi… in verifyMemoryRequirements()
967 …r<deUint32> usedMemoryTypeIndices = bitsToIndices(m_currentTestRequirements.memoryTypeBits); in verifyMemoryRequirements()
1570 …sMemoryTypeBits == notInitializedBits) || (m_currentTestRequirements.memoryTypeBits == previousMem… in execTest()
1576 previousMemoryTypeBits = m_currentTestRequirements.memoryTypeBits; in execTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryRequirementsTests.cpp420 result.check(m_currentTestRequirements.memoryTypeBits == previousMemoryTypeBits, in execTest()
430 previousMemoryTypeBits = m_currentTestRequirements.memoryTypeBits; in execTest()
464 …if (result.check(m_currentTestRequirements.memoryTypeBits != 0, "VkMemoryRequirements memoryTypeBi… in verifyMemoryRequirements()
467 …r<deUint32> usedMemoryTypeIndices = bitsToIndices(m_currentTestRequirements.memoryTypeBits); in verifyMemoryRequirements()
518 …urrentTestRequirements.memoryTypeBits & m_allUsageFlagsRequirements.memoryTypeBits) == m_allUsageF… in verifyMemoryRequirements()
771 …result.check(m_currentTestRequirements.memoryTypeBits == m_currentTestOriginalRequirements.memoryT… in verifyMemoryRequirements()
964 …if (result.check(m_currentTestRequirements.memoryTypeBits != 0, "VkMemoryRequirements memoryTypeBi… in verifyMemoryRequirements()
967 …r<deUint32> usedMemoryTypeIndices = bitsToIndices(m_currentTestRequirements.memoryTypeBits); in verifyMemoryRequirements()
1570 …sMemoryTypeBits == notInitializedBits) || (m_currentTestRequirements.memoryTypeBits == previousMem… in execTest()
1576 previousMemoryTypeBits = m_currentTestRequirements.memoryTypeBits; in execTest()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
Dvk_android_utils.cpp49 memRequirements.memoryTypeBits = bufferProperties.memoryTypeBits; in GetClientBufferMemoryRequirements()
DHardwareBufferImageSiblingVkAndroid.cpp317 externalMemoryRequirements.memoryTypeBits = bufferProperties.memoryTypeBits; in initImpl()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.c618 if (!mem_req->memoryTypeBits) { in vn_android_image_from_anb()
634 mem_req->size, alloc_size, mem_req->memoryTypeBits, in vn_android_image_from_anb()
648 mem_type_bits &= mem_req->memoryTypeBits; in vn_android_image_from_anb()
1025 pProperties->memoryTypeBits = mem_type_bits; in vn_GetAndroidHardwareBufferPropertiesANDROID()
1194 if ((mem_type_bits & mem_req->memoryTypeBits) == 0) { in vn_android_device_import_ahb()
1196 mem_req->memoryTypeBits, mem_type_bits); in vn_android_device_import_ahb()
1200 mem_type_index = ffs(mem_type_bits & mem_req->memoryTypeBits) - 1; in vn_android_device_import_ahb()
1224 assert((1 << mem_type_index) & mem_req->memoryTypeBits); in vn_android_device_import_ahb()
1439 (*out_buf)->requirements.memory.memoryRequirements.memoryTypeBits &= in vn_android_buffer_from_ahb()
1442 assert((*out_buf)->requirements.memory.memoryRequirements.memoryTypeBits); in vn_android_buffer_from_ahb()
Dvn_device_memory.c701 .memoryTypeBits = 0, in vn_get_memory_dma_buf_properties()
710 *out_mem_type_bits = props.memoryTypeBits; in vn_get_memory_dma_buf_properties()
735 pMemoryFdProperties->memoryTypeBits = mem_type_bits; in vn_GetMemoryFdPropertiesKHR()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewCreateTests.cpp193 (deUint32)deCtz32(memReqs.memoryTypeBits) // deUint32 memoryTypeIndex in createTestBuffer()
284 if (memReqs.memoryRequirements.memoryTypeBits == 0) in createTestBuffer()
287 … heapTypeIndex = static_cast<deUint32>(deCtz32(memReqs.memoryRequirements.memoryTypeBits)); in createTestBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiBufferViewCreateTests.cpp193 (deUint32)deCtz32(memReqs.memoryTypeBits) // deUint32 memoryTypeIndex in createTestBuffer()
284 if (memReqs.memoryRequirements.memoryTypeBits == 0) in createTestBuffer()
287 … heapTypeIndex = static_cast<deUint32>(deCtz32(memReqs.memoryRequirements.memoryTypeBits)); in createTestBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp157 deUint32 getMemoryIndex (deUint32 memoryTypeBits, deUint32 memoryPropertyFlag);
202 deUint32 DeviceGroupTestInstance::getMemoryIndex (const deUint32 memoryTypeBits, const deUint32 mem… in getMemoryIndex() argument
207 if ((memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in getMemoryIndex()
549 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
621 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
693 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
764 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
846 …memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, m_useHostMemory ? 0 : VK_MEMORY_PROPERTY_DE… in iterate()
854 …memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, m_useHostMemory ? 0 : VK_MEMORY_PROPERTY_DE… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/device_group/
DvktDeviceGroupRendering.cpp157 deUint32 getMemoryIndex (deUint32 memoryTypeBits, deUint32 memoryPropertyFlag);
202 deUint32 DeviceGroupTestInstance::getMemoryIndex (const deUint32 memoryTypeBits, const deUint32 mem… in getMemoryIndex() argument
207 if ((memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in getMemoryIndex()
549 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
621 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
693 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
764 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
846 …memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, m_useHostMemory ? 0 : VK_MEMORY_PROPERTY_DE… in iterate()
854 …memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, m_useHostMemory ? 0 : VK_MEMORY_PROPERTY_DE… in iterate()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_fuchsia.h57 uint32_t memoryTypeBits; member
187 uint32_t memoryTypeBits; member
Dvulkan_android.h59 uint32_t memoryTypeBits; member
/third_party/mesa3d/include/vulkan/
Dvulkan_fuchsia.h57 uint32_t memoryTypeBits; member
187 uint32_t memoryTypeBits; member
Dvulkan_android.h59 uint32_t memoryTypeBits; member
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_fuchsia.h57 uint32_t memoryTypeBits; member
187 uint32_t memoryTypeBits; member
Dvulkan_android.h59 uint32_t memoryTypeBits; member
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_fuchsia.h57 uint32_t memoryTypeBits; member
187 uint32_t memoryTypeBits; member
Dvulkan_android.h59 uint32_t memoryTypeBits; member
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceDmaBuf.cpp177 memoryRequirements.memoryTypeBits &= fdProperties.memoryTypeBits; in GetMemoryImportParams()
/third_party/skia/src/gpu/vk/
DGrVkAMDMemoryAllocator.cpp113 info.memoryTypeBits = 0; in allocateImageMemory()
144 info.memoryTypeBits = 0; in allocateBufferMemory()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DImage.cpp38 …Info.memoryTypeIndex = Util::getMemoryTypeIndex(physicalDevice, memoryRequirements.memoryTypeBits); in Image()
/third_party/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h59 uint32_t memoryTypeBits; member
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp99 uint32_t memoryTypeBits, in FindMemoryType() argument
102 for (size_t memoryIndex : angle::BitSet32<32>(memoryTypeBits)) in FindMemoryType()
560 uint32_t memoryTypeIndex = FindMemoryType(mMemoryProperties, memoryRequirements.memoryTypeBits, in createImage2DExternal()
964 uint32_t memoryTypeIndex = FindMemoryType(mMemoryProperties, memoryRequirements.memoryTypeBits, in readPixels()
/third_party/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h2765 uint32_t memoryTypeBits; member
2799 uint32_t memoryTypeBits,
3455 …ult VMA_CALL_POST vmaCheckCorruption(VmaAllocator VMA_NOT_NULL allocator, uint32_t memoryTypeBits);
7819 VkResult CheckCorruption(uint32_t memoryTypeBits);
14962 vkMemReq.memoryTypeBits, in RecordAllocateMemory()
14967 createInfo.memoryTypeBits, in RecordAllocateMemory()
14988 vkMemReq.memoryTypeBits, in RecordAllocateMemoryPages()
14993 createInfo.memoryTypeBits, in RecordAllocateMemoryPages()
15015 vkMemReq.memoryTypeBits, in RecordAllocateMemoryForBuffer()
15022 createInfo.memoryTypeBits, in RecordAllocateMemoryForBuffer()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_FUCHSIA_external_memory/
Ddevice_memory.txt99 * pname:memoryTypeBits a bitmask containing one bit set for every memory
108 a bit set in the slink:VkMemoryZirconHandlePropertiesFUCHSIA memoryTypeBits

1234567