radv: select the depth/stencil resolve method based on some conditions