Lines Matching refs:mmr
2740 VkMappedMemoryRange mmr = {}; in TEST_F() local
2741 mmr.sType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE; in TEST_F()
2742 mmr.memory = mem; in TEST_F()
2743 mmr.offset = atom_size; // Error b/c offset less than offset of mapped mem in TEST_F()
2745 vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
2752 mmr.offset = atom_size; in TEST_F()
2753 mmr.size = 4 * atom_size; // Flushing bounds exceed mapped bounds in TEST_F()
2755 vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
2762 mmr.offset = atom_size; in TEST_F()
2763 mmr.size = VK_WHOLE_SIZE; in TEST_F()
2765 vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
2774 mmr.offset = 3; // Not a multiple of atom_size in TEST_F()
2775 mmr.size = VK_WHOLE_SIZE; in TEST_F()
2777 vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
2784 mmr.offset = atom_size; in TEST_F()
2785 mmr.size = 2 * atom_size + 1; // Not a multiple of atom_size in TEST_F()
2787 vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
30004 VkMappedMemoryRange mmr = {}; in TEST_F() local
30005 mmr.sType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE; in TEST_F()
30006 mmr.memory = mem; in TEST_F()
30007 mmr.offset = 0; in TEST_F()
30008 mmr.size = VK_WHOLE_SIZE; in TEST_F()
30009 err = vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
30011 err = vkInvalidateMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
30020 mmr.sType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE; in TEST_F()
30021 mmr.memory = mem; in TEST_F()
30022 mmr.offset = 6 * atom_size; in TEST_F()
30023 mmr.size = VK_WHOLE_SIZE; in TEST_F()
30024 err = vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
30026 err = vkInvalidateMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
30036 mmr.sType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE; in TEST_F()
30037 mmr.memory = mem; in TEST_F()
30038 mmr.offset = 4 * atom_size; in TEST_F()
30039 mmr.size = 2 * atom_size; in TEST_F()
30040 err = vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
30042 err = vkInvalidateMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
30051 mmr.sType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE; in TEST_F()
30052 mmr.memory = mem; in TEST_F()
30053 mmr.offset = allocation_size - (4 * atom_size); in TEST_F()
30054 mmr.size = VK_WHOLE_SIZE; in TEST_F()
30055 err = vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()
30057 mmr.offset = allocation_size - (6 * atom_size); in TEST_F()
30058 mmr.size = VK_WHOLE_SIZE; in TEST_F()
30059 err = vkFlushMappedMemoryRanges(m_device->device(), 1, &mmr); in TEST_F()