diff --git a/crates/metal2vulkan/src/memory/provenance.rs b/crates/metal2vulkan/src/memory/provenance.rs index e990369ab..0a40e940c 100644 --- a/crates/metal2vulkan/src/memory/provenance.rs +++ b/crates/metal2vulkan/src/memory/provenance.rs @@ -1523,7 +1523,7 @@ impl<'a> Cx<'a> { /// The fact of GEP `id` into an array field ([`array_geps`]) over `base` whose roots are /// stack allocations only: its offsets are its constant displacement plus at most the array /// field's bytes past its first element; `f`, the unbounded fact, for any other GEP. Lowering - /// clamps each such GEP's run-time indices into the private arena to their arrays + /// sends such a GEP's private-arena access to the sink where a run-time index is past its array /// (`lower::access::local`), and a typed object's access never leaves its levels /// (`memory::alloca`), so no run reaches past the field. fn array_bound( diff --git a/crates/metal2vulkan/src/tests/engine_parked_handles.rs b/crates/metal2vulkan/src/tests/engine_parked_handles.rs index 13c632ce5..ebe591237 100644 --- a/crates/metal2vulkan/src/tests/engine_parked_handles.rs +++ b/crates/metal2vulkan/src/tests/engine_parked_handles.rs @@ -45,7 +45,8 @@ fn fixture() -> Option> { } /// Heap handles stored into fields no load reads compile, write nothing there, and pass L3 where -/// the profile has the sampled heap; the run-time indices into the struct's arrays are clamped. +/// the profile has the sampled heap; the struct's arrays are reached at run-time indices, each +/// access bounded to its array. #[test] fn heap_handles_parked_where_nothing_reads_them_compile() { let Some(bc) = fixture() else { return };