From ebb42fa30d0613d1f39b3d6576f29c7914f8a4b5 Mon Sep 17 00:00:00 2001 From: Gabriel A Date: Mon, 13 Nov 2023 20:23:30 -0300 Subject: [PATCH] Remove highWord == 1 check since it is not equal to 1 for NVN handles? --- .../Image/TextureBindingsManager.cs | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs index d7a01212c..a9168cd9d 100644 --- a/src/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs +++ b/src/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs @@ -863,12 +863,6 @@ namespace Ryujinx.Graphics.Gpu.Image for (int index = 0; index < cbData.Length; index += 2) { int packedId = cbData[index]; - int highWord = cbData[index + 1]; - - if (highWord != 1) - { - continue; - } int textureId = TextureHandle.UnpackTextureId(packedId); int samplerId; @@ -899,13 +893,6 @@ namespace Ryujinx.Graphics.Gpu.Image for (int index = 0; index < cbData.Length; index += 2) { int packedId = cbData[index]; - int highWord = cbData[index + 1]; - - if (highWord != 1) - { - continue; - } - int textureId = TextureHandle.UnpackTextureId(packedId); pool.UpdateBindlessCombined(_context.Renderer, null, textureId, 0); @@ -931,13 +918,6 @@ namespace Ryujinx.Graphics.Gpu.Image for (int index = 0; index < cbData.Length; index += 2) { int packedId = cbData[index]; - int highWord = cbData[index + 1]; - - if (highWord != 1) - { - continue; - } - int samplerId; if (_samplerIndex == SamplerIndex.ViaHeaderIndex)