protonscr

D3D9: Up draws race with the CS thread

dxvkclosed d3d9
doitsujin/dxvk#3155 · opened 2022-12-30 by K0bin · updated 2022-12-30 · 1 comments · github
KK0bin 2022-12-30 github

DrawPrimitiveUp/DrawPrimitiveIndexedUp read m_iaState which is written on the CS thread.

That's a race that we need to fix.

cc @DadSchoorse @Joshua-Ashton

KK0bin maintainer 2022-12-30 github

False alarm, DrawPrimitiveUp (& the Indexed version) only use drawCount which is calculated without any state.

This is a bit confusing though. #3156 clears it up a little.

Nothing extracted yet.