a3xx: add compare func for shadow samplers