wined3d: Check the render target capabilities of a resource type.