I wrote this patch some time ago, and I'm not really sure why I did. I don't
think it was necessary for any refactoring.
Looking at it again, though, I think it does make sense. Device validation is a
high-level operation, and I think it's clearer if we're checking the d3d states
directly here. This also means we're not unnecessarily applying the stateblock
here.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3864