Skip to content

Commit

Permalink
add COUNTER_DONT_SAMPLE constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf authored and kvark committed Aug 20, 2023
1 parent afca1e9 commit d24f1a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ use super::*;

use std::ops::Range;

/// See <https://developer.apple.com/documentation/metal/mtlcounterdontsample>
pub const COUNTER_DONT_SAMPLE: NSUInteger = NSUInteger::MAX; // #define MTLCounterDontSample ((NSUInteger)-1)

/// See <https://developer.apple.com/documentation/metal/mtlprimitivetype>
#[repr(u64)]
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
Expand Down

0 comments on commit d24f1a4

Please sign in to comment.