diff --git a/vulkan.d b/vulkan.d index 8fe1411..28236a0 100644 --- a/vulkan.d +++ b/vulkan.d @@ -2712,7 +2712,7 @@ Init(PlatformHandles platform_handles, u64 permanent_mem, u64 frame_mem) continue; } - if(prop.queueFlags & (T_BIT | S_BIT)) + if(BitEq(prop.queueFlags, T_BIT | S_BIT)) { sparse = true; current.tfer_index = idx;