* This also fixes a case where pipelines with dynamic stencil masks wouldn't have the masks properly set for stencil counting and we wouldn't get shader output properly.