mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-10-30 05:51:42 +00:00
refactor(spv-out): linkify docs. ref. to write_bounds_check
This commit is contained in:
parent
215f0fc887
commit
3d584f99ed
@ -11,9 +11,9 @@ use crate::{arena::Handle, proc::BoundsCheckPolicy};
|
||||
|
||||
/// The results of performing a bounds check.
|
||||
///
|
||||
/// On success, `write_bounds_check` returns a value of this type. The
|
||||
/// caller can assume that the right policy has been applied, and
|
||||
/// simply do what the variant says.
|
||||
/// On success, [`write_bounds_check`](BlockContext::write_bounds_check)
|
||||
/// returns a value of this type. The caller can assume that the right
|
||||
/// policy has been applied, and simply do what the variant says.
|
||||
pub(super) enum BoundsCheckResult {
|
||||
/// The index is statically known and in bounds, with the given value.
|
||||
KnownInBounds(u32),
|
||||
|
Loading…
Reference in New Issue
Block a user