1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 05:52:11 +01:00

[d3d9] Flush and synchronize to cs before format conversion

Fixes a race when DISCARD is used
This commit is contained in:
Joshua Ashton 2020-08-06 10:05:20 +01:00 committed by Joshie
parent f1aa80dab9
commit ad6b91d84a

View File

@ -4223,6 +4223,9 @@ namespace dxvk {
});
}
else {
Flush();
SynchronizeCsThread();
m_converter->ConvertFormat(
convertFormat,
image, subresourceLayers,