mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14: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:
parent
f1aa80dab9
commit
ad6b91d84a
@ -4223,6 +4223,9 @@ namespace dxvk {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Flush();
|
||||||
|
SynchronizeCsThread();
|
||||||
|
|
||||||
m_converter->ConvertFormat(
|
m_converter->ConvertFormat(
|
||||||
convertFormat,
|
convertFormat,
|
||||||
image, subresourceLayers,
|
image, subresourceLayers,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user