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

@ -29,7 +29,7 @@ namespace Ryujinx.Graphics.Vulkan
for (int i = 0; i < Map.Length; ++i)
{
var typeSize = SizeOf(description[i].Type);
uint typeSize = SizeOf(description[i].Type);
Map[i] = new SpecializationMapEntry(description[i].Id, structSize, typeSize);
structSize += typeSize;
}
@ -89,7 +89,7 @@ namespace Ryujinx.Graphics.Vulkan
_data = new byte[data.Length];
data.CopyTo(_data);
var hc = new HashCode();
HashCode hc = new HashCode();
hc.AddBytes(data);
_hash = hc.ToHashCode();
}