support PF_DEPTH for other render apis