This commit is contained in:
Philip Rebohle 2025-03-06 17:04:15 +01:00 committed by GitHub
commit b04d9f4f61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -155,8 +155,7 @@ namespace dxvk {
void STDMETHODCALLTYPE D3D11DeviceContextExt<ContextType>::SetBarrierControl(
UINT ControlFlags) {
D3D10DeviceLock lock = m_ctx->LockContext();
D3D11Device* parent = static_cast<D3D11Device*>(m_ctx->GetParentInterface());
DxvkBarrierControlFlags flags = parent->GetOptionsBarrierControlFlags();
DxvkBarrierControlFlags flags = 0u;
if (ControlFlags & D3D11_VK_BARRIER_CONTROL_IGNORE_WRITE_AFTER_WRITE) {
flags.set(DxvkBarrierControl::ComputeAllowReadWriteOverlap,