doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.95k stars 832 forks source link

[d3d9] Validate D3DCREATE_PUREDEVICE usage #4081

Closed WinterSnowfall closed 3 months ago

WinterSnowfall commented 3 months ago

Probably not all that relevant, however native drivers apparently enforce it. There are games out there that make use of D3DCREATE_PUREDEVICE, so it doesn't hurt to make sure we don't end up in weird situations.

To be fair, I fail to see how this flag would ever have made any sense outside of HWVP (and maaaaaybe mixed VP), but there's nothing explicitly mentioned in the spec as far as limitations go, so this was based purely on observed behavior.