mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-05-16 07:27:43 +02:00

* Implement transform feedback emulation for hardware without native support * Stop doing some useless buffer updates and account for non-zero base instance * Reduce redundant updates even more * Update descriptor init logic to account for ResourceLayout * Fix transform feedback and storage buffers not being updated in some cases * Shader cache version bump * PR feedback * SetInstancedDrawVertexCount must be always called after UpdateState * Minor typo
28 lines
No EOL
717 B
C#
28 lines
No EOL
717 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;
|
|
}
|
|
} |