fn discards_frag_depth(entry_point: &EntryPoint) -> boolExpand description
Returns true if the depth that entry_point writes must be discarded.
HLSL has no way to specify that depth is unchanged. Discarding the depth has the same effect, and keeps early depth tests enabled.