From 29cab9e9b41f4626e59ce677425770c5544deeb5 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Mon, 7 Dec 2020 23:31:06 +0100 Subject: [PATCH] remove erroneous assert in get_query_pool_results (#335) the stride can be bigger than a u64 for example when querying more than one pipeline statistic --- ash/src/device.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ash/src/device.rs b/ash/src/device.rs index fce4c15..84ef40b 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -1451,10 +1451,6 @@ pub trait DeviceV1_0 { flags: vk::QueryResultFlags, ) -> VkResult<()> { let data_length = query_count as usize; - assert!( - mem::size_of::() <= mem::size_of::(), - "T can not be bigger than an u64" - ); assert!( data_length <= data.len(), "query_count was higher than the length of the slice"