protonscr

[d3d9] Only allocate HWVP constant set if SWVP is not enabled?

dxvkclosed d3d9
doitsujin/dxvk#3292 · opened 2023-03-18 by Blisto91 · updated 2026-06-16 · 1 comments · github
BBlisto91 2023-03-18 github

Just a reminder issue for https://github.com/doitsujin/dxvk/pull/3248#issuecomment-1448097202 to be evaluated so it's not forgotten.

WWinterSnowfall 2023-03-20 github

I think @K0bin is already aware of this, but I've recently come across it in d3d8, so I'll mention that in D3DCREATE_MIXED_VERTEXPROCESSING mode apps can switch between HWVP (the default) and SWVP at any time by calling SetSoftwareVertexProcessing() in d3d9, or by setting the D3DRS_SOFTWAREVERTEXPROCESSING render state in d3d8. This scenario should be handled as well.

Upstream links