Skip to content

Commit 7d43a9f

Browse files
authored
[ET-VK] Fix VMA assertion caused by bool return type truncation
Differential Revision: D96151798 Pull Request resolved: #18105
1 parent 5db6f22 commit 7d43a9f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

backends/vulkan/runtime/vk_api/memory/Allocator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
namespace vkcompute {
1212
namespace vkapi {
1313

14-
bool test_host_cached_available(VkPhysicalDevice physical_device) {
14+
VmaAllocationCreateFlags test_host_cached_available(
15+
VkPhysicalDevice physical_device) {
1516
VkPhysicalDeviceMemoryProperties mem_props;
1617
vkGetPhysicalDeviceMemoryProperties(physical_device, &mem_props);
1718

0 commit comments

Comments
 (0)