pub const DEPTH_COMPARE: CompareFunction;Expand description
The comparison every depth-testing engine pipeline runs.
Named beside DEPTH_CLEAR because the two together are what a caller
sharing the attachment builds its own pipeline against: the comparison, and
which end of the range is near. LessEqual rather than Less so the
backmost draw still passes against a buffer cleared to DEPTH_CLEAR, and
so two draws quantized to the same 24-bit depth both land.
The pipelines state it in their own depth state as well; the engine’s integration suite pins the two to agree rather than leaving a second copy free to drift.