From 1ef4e60b6939018031a5099b1c0657c980edbc7f Mon Sep 17 00:00:00 2001 From: oltolm Date: Tue, 5 Oct 2021 21:16:47 +0200 Subject: [PATCH] [dxvk] fix barrier tracking code --- src/dxvk/dxvk_barrier.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxvk/dxvk_barrier.h b/src/dxvk/dxvk_barrier.h index 378070f4..f3629fa9 100644 --- a/src/dxvk/dxvk_barrier.h +++ b/src/dxvk/dxvk_barrier.h @@ -237,8 +237,8 @@ namespace dxvk { DxvkAccessFlags access; while (list && access != entry->data.getAccess()) { - if (entry->data.overlaps(slice)) - access.set(entry->data.getAccess()); + if (list->data.overlaps(slice)) + access.set(list->data.getAccess()); list = getListEntry(list->next); }