mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-21 08:00:19 +00:00
* Tell GAL to use Vk model (and break everything) * ResourceBindingSegments * Set information on backend caps * Get ready to break everything * Refactor EncoderStateManager * Remove padding from helper shaders * Fix ref array sizes * Seperate vert & frag buffers * Shader-side changes * Fixes * Fix some helper shader resource layouts * Sort by binding id * Fix helper shader layouts * Don’t do inline vertex buffer updates * Check for null storage
22 lines
603 B
C#
22 lines
603 B
C#
using Ryujinx.Graphics.GAL;
|
|
|
|
namespace Ryujinx.Graphics.Metal
|
|
{
|
|
readonly struct ResourceBindingSegment
|
|
{
|
|
public readonly int Binding;
|
|
public readonly int Count;
|
|
public readonly ResourceType Type;
|
|
public readonly ResourceStages Stages;
|
|
public readonly bool IsArray;
|
|
|
|
public ResourceBindingSegment(int binding, int count, ResourceType type, ResourceStages stages, bool isArray)
|
|
{
|
|
Binding = binding;
|
|
Count = count;
|
|
Type = type;
|
|
Stages = stages;
|
|
IsArray = isArray;
|
|
}
|
|
}
|
|
}
|