diff --git a/crates/metal2vulkan-validation/src/executor_contract/depth_stencil.rs b/crates/metal2vulkan-validation/src/executor_contract/depth_stencil.rs index 80807cac7..a4cc24dcd 100644 --- a/crates/metal2vulkan-validation/src/executor_contract/depth_stencil.rs +++ b/crates/metal2vulkan-validation/src/executor_contract/depth_stencil.rs @@ -128,8 +128,10 @@ impl DrawDepthStencil { /// `metal::state::depth_stencil_state`): it refuses a draw whose test the output decides /// (`Gap::Draw` of `DrawKind::StencilOutput`). It refuses one more draw: where the state /// replaces a stencil bit, one inside a `Counting` visibility result's segment, whose count - /// each of its draws would add to. A case sets no visibility result mode, so none of its draws - /// is in a segment, and that clause decides none. + /// each of its draws would add to. That clause has nothing to read: the case schema expresses + /// no visibility result mode (no field of `AuthoredCase`, its `Draw` or its + /// `DepthStencilResource` names one, and each refuses an unknown field), and neither executor + /// sets one or gives its pass a visibility result buffer, so no case's draw is in a segment. pub fn stencil_reference_face(&self) -> Option<(&'static str, CompareFunction)> { let state = self.vulkan(); if !state.stencil_test_enable { diff --git a/docs/VALIDATION.md b/docs/VALIDATION.md index 2cd2cab72..546dc39d0 100644 --- a/docs/VALIDATION.md +++ b/docs/VALIDATION.md @@ -569,8 +569,9 @@ cargo run -p metal2vulkan-validation --release --bin corpus-vulkan -- \ function other than `Always` and `Never` on a face, which the output decides as its reference (`Gap::Draw` of `StencilOutput`): such a case records `not_enabled` there, naming the extension and the face, read from its function's live outputs and its depth-stencil state once the state is - made (`DrawDepthStencil::stencil_reference_face`). A case sets no visibility result mode, so the - runtime's other refusal of such a draw, inside a `Counting` segment, meets none. Its device + made (`DrawDepthStencil::stencil_reference_face`). The case schema expresses no visibility + result mode, and neither executor sets one, so the runtime's other refusal of such a draw, + inside a `Counting` segment, meets none. Its device worker enables the validation layer through the loader's and the layer's variables, and any message the layer logs fails the row. The pipeline state's make is held to 500 MiB of peak live allocations and 20 s.