5626f2ca1c
* Introduce ResourceLayout * Part 1: Use new ResourceSegments array on UpdateAndBind * Part 2: Use ResourceLayout to build PipelineLayout * Delete old code * XML docs * Fix shader cache load NRE * Fix typo
22 lines
No EOL
619 B
C#
22 lines
No EOL
619 B
C#
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;
|
|
public readonly ResourceAccess Access;
|
|
|
|
public ResourceBindingSegment(int binding, int count, ResourceType type, ResourceStages stages, ResourceAccess access)
|
|
{
|
|
Binding = binding;
|
|
Count = count;
|
|
Type = type;
|
|
Stages = stages;
|
|
Access = access;
|
|
}
|
|
}
|
|
} |