mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-22 09:03:36 +00:00
33 lines
1.3 KiB
C#
33 lines
1.3 KiB
C#
using Silk.NET.Vulkan;
|
|
|
|
namespace Ryujinx.Graphics.Vulkan
|
|
{
|
|
struct HardwareCapabilities
|
|
{
|
|
public bool SupportsConditionalRendering { get; }
|
|
public bool SupportsExtendedDynamicState { get; }
|
|
public bool SupportsTransformFeedback { get; }
|
|
public bool SupportsGeometryShader { get; }
|
|
public uint MinSubgroupSize { get; }
|
|
public uint MaxSubgroupSize { get; }
|
|
public ShaderStageFlags RequiredSubgroupSizeStages { get; }
|
|
|
|
public HardwareCapabilities(
|
|
bool supportsConditionalRendering,
|
|
bool supportsExtendedDynamicState,
|
|
bool supportsTransformFeedback,
|
|
bool supportsGeometryShader,
|
|
uint minSubgroupSize,
|
|
uint maxSubgroupSize,
|
|
ShaderStageFlags requiredSubgroupSizeStages)
|
|
{
|
|
SupportsConditionalRendering = supportsConditionalRendering;
|
|
SupportsExtendedDynamicState = supportsExtendedDynamicState;
|
|
SupportsTransformFeedback = supportsTransformFeedback;
|
|
SupportsGeometryShader = supportsGeometryShader;
|
|
MinSubgroupSize = minSubgroupSize;
|
|
MaxSubgroupSize = maxSubgroupSize;
|
|
RequiredSubgroupSizeStages = requiredSubgroupSizeStages;
|
|
}
|
|
}
|
|
}
|