2023-05-21 19:04:21 +02:00
|
|
|
using Ryujinx.Graphics.GAL;
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Vulkan
|
|
|
|
{
|
|
|
|
readonly struct ResourceBindingSegment
|
|
|
|
{
|
|
|
|
public readonly int Binding;
|
|
|
|
public readonly int Count;
|
|
|
|
public readonly ResourceType Type;
|
|
|
|
public readonly ResourceStages Stages;
|
2024-04-07 23:25:55 +02:00
|
|
|
public readonly bool IsArray;
|
2023-05-21 19:04:21 +02:00
|
|
|
|
2024-04-07 23:25:55 +02:00
|
|
|
public ResourceBindingSegment(int binding, int count, ResourceType type, ResourceStages stages, bool isArray)
|
2023-05-21 19:04:21 +02:00
|
|
|
{
|
|
|
|
Binding = binding;
|
|
|
|
Count = count;
|
|
|
|
Type = type;
|
|
|
|
Stages = stages;
|
2024-04-07 23:25:55 +02:00
|
|
|
IsArray = isArray;
|
2023-05-21 19:04:21 +02:00
|
|
|
}
|
|
|
|
}
|
2023-07-01 12:31:42 +02:00
|
|
|
}
|