Skip to content

Commit

Permalink
Fix accidental leftover todo (vulkano-rs#2277)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rua authored and hakolao committed Feb 20, 2024
1 parent 4b3380d commit 9920922
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vulkano/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -256,7 +254,9 @@ impl QueryPool {
}));
}
}
QueryType::AccelerationStructureCompactedSize
QueryType::Occlusion
| QueryType::PipelineStatistics(_)
| QueryType::AccelerationStructureCompactedSize
| QueryType::AccelerationStructureSerializationSize
| QueryType::AccelerationStructureSerializationBottomLevelPointers
| QueryType::AccelerationStructureSize => (),
Expand Down

0 comments on commit 9920922

Please # to comment.