Skip to content

Commit

Permalink
Update naga/src/proc/index.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Erich Gubler <[email protected]>
  • Loading branch information
rudderbucky and ErichDonGubler authored Nov 14, 2024
1 parent ac60902 commit ae33c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions naga/src/proc/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ pub enum BoundsCheckPolicy {
pub struct BoundsCheckPolicies {
/// How should the generated code handle array, vector, or matrix indices
/// that are out of range?
///
/// On Metal, this policy also dictates how loops are checked for UB.
#[cfg_attr(feature = "deserialize", serde(default))]
pub index: BoundsCheckPolicy,
Expand Down

0 comments on commit ae33c5b

Please sign in to comment.