Skip to content

Commit

Permalink
Enable TIMESTAMP_QUERY_INSIDE_PASSES when supported on metal
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Aug 6, 2023
1 parent 3ea7aa0 commit 57be229
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions wgpu-hal/src/metal/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -828,12 +828,11 @@ impl super::PrivateCapabilities {
self.timestamp_query_support
.contains(TimestampQuerySupport::STAGE_BOUNDARIES),
);
// TODO: Not yet implemented.
// features.set(
// F::TIMESTAMP_QUERY_INSIDE_PASSES,
// self.timestamp_query_support
// .contains(TimestampQuerySupport::INSIDE_WGPU_PASSES),
// );
features.set(
F::TIMESTAMP_QUERY_INSIDE_PASSES,
self.timestamp_query_support
.contains(TimestampQuerySupport::INSIDE_WGPU_PASSES),
);
features.set(F::TEXTURE_COMPRESSION_ASTC, self.format_astc);
features.set(F::TEXTURE_COMPRESSION_ASTC_HDR, self.format_astc_hdr);
features.set(F::TEXTURE_COMPRESSION_BC, self.format_bc);
Expand Down

0 comments on commit 57be229

Please sign in to comment.