From 6ee159a1f4553b0f33e2a75b5dc7a19defe7cbd8 Mon Sep 17 00:00:00 2001 From: Rua Date: Fri, 4 Aug 2023 21:52:23 +0200 Subject: [PATCH] Fix accidental leftover todo --- vulkano/src/query.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vulkano/src/query.rs b/vulkano/src/query.rs index 043546273b..27def8ba4a 100644 --- a/vulkano/src/query.rs +++ b/vulkano/src/query.rs @@ -243,8 +243,6 @@ impl QueryPool { } match &self.query_type { - QueryType::Occlusion => todo!(), - QueryType::PipelineStatistics(_) => todo!(), QueryType::Timestamp => { if flags.intersects(QueryResultFlags::PARTIAL) { return Err(Box::new(ValidationError { @@ -256,7 +254,9 @@ impl QueryPool { })); } } - QueryType::AccelerationStructureCompactedSize + QueryType::Occlusion + | QueryType::PipelineStatistics(_) + | QueryType::AccelerationStructureCompactedSize | QueryType::AccelerationStructureSerializationSize | QueryType::AccelerationStructureSerializationBottomLevelPointers | QueryType::AccelerationStructureSize => (),