Fix several depth/stencil related issues on Bifrost and Midgard.
/cc @mareko @kusma @gerddie for the u_simple_shader changes.