mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-02-03 05:22:59 -06:00
53d096e392
* 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
34 lines
847 B
C#
34 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;
|
|
}
|
|
}
|