aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Vulkan/IndexBufferState.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-07-14 04:08:52 -0300
committerGitHub <noreply@github.com>2023-07-14 09:08:52 +0200
commitc5d9e67cb24667b659452e02650dd862b5cf1100 (patch)
tree5a55c3e46e31347cea150952784d8a41a8e10649 /src/Ryujinx.Graphics.Vulkan/IndexBufferState.cs
parente5261228d77240da87a8327147d6b5a889bc29ef (diff)
Fix some Vulkan validation errors (#5452)
* Fix some validation errors and silence the annoying pipeline barrier error * Remove bogus decref/incref on index buffer state * Make unsafe blit opt-in rather than opt-out * Remove Vulkan debugger messages blacklist * Adjust GetImageUsage to not set the storage bit for multisample textures if not supported
Diffstat (limited to 'src/Ryujinx.Graphics.Vulkan/IndexBufferState.cs')
-rw-r--r--src/Ryujinx.Graphics.Vulkan/IndexBufferState.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Ryujinx.Graphics.Vulkan/IndexBufferState.cs b/src/Ryujinx.Graphics.Vulkan/IndexBufferState.cs
index e81268e9..b839619e 100644
--- a/src/Ryujinx.Graphics.Vulkan/IndexBufferState.cs
+++ b/src/Ryujinx.Graphics.Vulkan/IndexBufferState.cs
@@ -152,9 +152,6 @@ namespace Ryujinx.Graphics.Vulkan
{
if (_buffer == from)
{
- _buffer.DecrementReferenceCount();
- to.IncrementReferenceCount();
-
_buffer = to;
}
}