From ef2bdc995d08285e359c2cbc7afb7e1c4f7d8676 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 9 Nov 2022 16:36:49 +0000 Subject: [PATCH] Fix mutable bitmask being set when cache is populated --- renderdoc/driver/d3d12/d3d12_resources.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/renderdoc/driver/d3d12/d3d12_resources.cpp b/renderdoc/driver/d3d12/d3d12_resources.cpp index 15b53c6d5..b2a8def74 100644 --- a/renderdoc/driver/d3d12/d3d12_resources.cpp +++ b/renderdoc/driver/d3d12/d3d12_resources.cpp @@ -398,7 +398,6 @@ void WrappedID3D12DescriptorHeap::SetToViewCache(uint32_t index, const D3D12Pipe cachedViews[index] = view; // we re-use bind as the indicator that this view is valid cachedViews[index].bind = 1; - mutableViewBitmask[index / 64] |= (1ULL << (index % 64)); } WrappedID3D12DescriptorHeap::WrappedID3D12DescriptorHeap(ID3D12DescriptorHeap *real,