fn discards_frag_depth(entry_point: &EntryPoint) -> boolExpand description
Returns true if the depth that entry_point writes must be discarded.
MSL has no way to specify that depth is unchanged, and it does not allow functions that force early fragment tests to output depth. Discarding the depth has the same effect as either of those, and keeps early depth tests enabled.