From 80b27f95bceeb8cbe1211b03a79c4da3293d33ce Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Thu, 22 Jun 2023 16:05:49 +0100 Subject: [PATCH] [d3d9] Fix active hazards RT only being 4 bits --- src/d3d9/d3d9_device.cpp | 1 - src/d3d9/d3d9_device.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 6ca54ad6..16f44606 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -179,7 +179,6 @@ namespace dxvk { m_boundRTs = 0; m_anyColorWrites = 0; m_activeRTs = 0; - m_activeHazardsRT = 0; m_alphaSwizzleRTs = 0; m_lastHazardsRT = 0; } diff --git a/src/d3d9/d3d9_device.h b/src/d3d9/d3d9_device.h index fa10b09d..4bf13086 100644 --- a/src/d3d9/d3d9_device.h +++ b/src/d3d9/d3d9_device.h @@ -1281,12 +1281,12 @@ namespace dxvk { uint32_t m_boundRTs : 4; uint32_t m_anyColorWrites : 4; uint32_t m_activeRTs : 4; - uint32_t m_activeHazardsRT : 4; uint32_t m_alphaSwizzleRTs : 4; uint32_t m_lastHazardsRT : 4; uint32_t m_activeRTTextures = 0; uint32_t m_activeDSTextures = 0; + uint32_t m_activeHazardsRT = 0; uint32_t m_activeHazardsDS = 0; uint32_t m_activeTextures = 0; uint32_t m_activeTexturesToUpload = 0;