misc: chore: Use explicit types in Vulkan project

This commit is contained in:
Evan Husted
2025-01-25 14:12:17 -06:00
parent e6b393e420
commit 2d1a4c3ce5
58 changed files with 682 additions and 667 deletions

View File

@@ -25,7 +25,7 @@ namespace Ryujinx.Graphics.Vulkan
if (SetDescriptors != null)
{
foreach (var setDescriptor in SetDescriptors)
foreach (ResourceDescriptorCollection setDescriptor in SetDescriptors)
{
hasher.Add(setDescriptor);
}
@@ -81,7 +81,7 @@ namespace Ryujinx.Graphics.Vulkan
ReadOnlyCollection<ResourceDescriptorCollection> setDescriptors,
bool usePushDescriptors)
{
var key = new PlceKey(setDescriptors, usePushDescriptors);
PlceKey key = new PlceKey(setDescriptors, usePushDescriptors);
return _plces.GetOrAdd(key, newKey => new PipelineLayoutCacheEntry(gd, device, setDescriptors, usePushDescriptors));
}
@@ -90,7 +90,7 @@ namespace Ryujinx.Graphics.Vulkan
{
if (disposing)
{
foreach (var plce in _plces.Values)
foreach (PipelineLayoutCacheEntry plce in _plces.Values)
{
plce.Dispose();
}