mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-28 19:17:56 +02:00
Vulkan: Buffer alignment
This commit is contained in:
committed by
KeatonTheBot
parent
491fb3ccfb
commit
59c277bc6c
@@ -54,6 +54,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
public readonly uint VertexBufferAlignment;
|
||||
public readonly uint SubTexelPrecisionBits;
|
||||
public readonly ulong MinResourceAlignment;
|
||||
public readonly ulong MinTexelBufferAlignment;
|
||||
|
||||
public HardwareCapabilities(
|
||||
bool supportsIndexTypeUint8,
|
||||
@@ -93,7 +94,8 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
PortabilitySubsetFlags portabilitySubset,
|
||||
uint vertexBufferAlignment,
|
||||
uint subTexelPrecisionBits,
|
||||
ulong minResourceAlignment)
|
||||
ulong minResourceAlignment,
|
||||
ulong minTexelBufferAlignment)
|
||||
{
|
||||
SupportsIndexTypeUint8 = supportsIndexTypeUint8;
|
||||
SupportsCustomBorderColor = supportsCustomBorderColor;
|
||||
@@ -133,6 +135,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
VertexBufferAlignment = vertexBufferAlignment;
|
||||
SubTexelPrecisionBits = subTexelPrecisionBits;
|
||||
MinResourceAlignment = minResourceAlignment;
|
||||
MinTexelBufferAlignment = minTexelBufferAlignment;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user