diff --git a/crates/metal2vulkan/src/lower/select.rs b/crates/metal2vulkan/src/lower/select.rs index 0118f23d9..d86305d9b 100644 --- a/crates/metal2vulkan/src/lower/select.rs +++ b/crates/metal2vulkan/src/lower/select.rs @@ -1733,7 +1733,9 @@ fn identity_unsourced(f: &RuntimeFact) -> bool { /// (`PushField::RenderTargetArrayLength`); the address of the runtime's memory that holds a /// kernel's private arena past the floor (`PushField::PrivateArenaAddress`); the draw's viewport /// count, at or past which a vertex function that writes `[[viewport_array_index]]` stores -/// `ViewportIndex` 0 (`PushField::ViewportCount`); and a vertex function's indirect command buffer +/// `ViewportIndex` 0 (`PushField::ViewportCount`); the draw's viewport depth range, which a +/// vertex function under the depth range fold folds into its position +/// (`PushField::DepthRangeFold`); and a vertex function's indirect command buffer /// execution range and command (`PushField::IndirectRange`, `PushField::IndirectSequence`, /// `PushField::IndirectBase`). Its /// fields past the push window are a parameter block, whose address the window holds. Its refusal @@ -1776,11 +1778,11 @@ fn identity_pushes(field: PushField, loc: PushLoc, views: bool) -> bool { | PushField::RenderTargetArrayLength | PushField::PrivateArenaAddress | PushField::ViewportCount + | PushField::DepthRangeFold | PushField::IndirectRange | PushField::IndirectSequence | PushField::IndirectBase => true, - PushField::DepthRangeFold - | PushField::RootTableAddress + PushField::RootTableAddress | PushField::CaptureIndexAddress | PushField::MergedDrawAddress | PushField::AmplificationId