mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-05-10 10:37:42 +02:00

* Report base and extra sets from the backend * Pass texture set index everywhere * Key textures using set and binding (rather than just binding) * Start using extra sets for array textures * Shader cache version bump * Separate new commands, some PR feedback * Introduce new manual descriptor set reservation method that prevents it from being used by something else while owned by an array * Move bind extra sets logic to new method * Should only use separate array is MaximumExtraSets is not zero * Format whitespace
33 lines
847 B
C#
33 lines
847 B
C#
namespace Ryujinx.Graphics.Gpu.Shader
|
|
{
|
|
/// <summary>
|
|
/// Holds counts for the resources used by a shader.
|
|
/// </summary>
|
|
class ResourceCounts
|
|
{
|
|
/// <summary>
|
|
/// Total of uniform buffers used by the shaders.
|
|
/// </summary>
|
|
public int UniformBuffersCount;
|
|
|
|
/// <summary>
|
|
/// Total of storage buffers used by the shaders.
|
|
/// </summary>
|
|
public int StorageBuffersCount;
|
|
|
|
/// <summary>
|
|
/// Total of textures used by the shaders.
|
|
/// </summary>
|
|
public int TexturesCount;
|
|
|
|
/// <summary>
|
|
/// Total of images used by the shaders.
|
|
/// </summary>
|
|
public int ImagesCount;
|
|
|
|
/// <summary>
|
|
/// Total of extra sets used by the shaders.
|
|
/// </summary>
|
|
public int SetsCount;
|
|
}
|
|
}
|