mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-21 08:21:41 +00:00
788ca6a411
* Initial transform feedback support * Some nits and fixes * Update ReportCounterType and Write method * Can't change shader or TFB bindings while TFB is active * Fix geometry shader input names with new naming
29 lines
No EOL
1.1 KiB
C#
29 lines
No EOL
1.1 KiB
C#
namespace Ryujinx.Graphics.Gpu.State
|
|
{
|
|
/// <summary>
|
|
/// Counter type for GPU counter reporting.
|
|
/// </summary>
|
|
enum ReportCounterType
|
|
{
|
|
Zero = 0,
|
|
InputVertices = 1,
|
|
InputPrimitives = 3,
|
|
VertexShaderInvocations = 5,
|
|
GeometryShaderInvocations = 7,
|
|
GeometryShaderPrimitives = 9,
|
|
ZcullStats0 = 0xa,
|
|
TransformFeedbackPrimitivesWritten = 0xb,
|
|
ZcullStats1 = 0xc,
|
|
ZcullStats2 = 0xe,
|
|
ClipperInputPrimitives = 0xf,
|
|
ZcullStats3 = 0x10,
|
|
ClipperOutputPrimitives = 0x11,
|
|
PrimitivesGenerated = 0x12,
|
|
FragmentShaderInvocations = 0x13,
|
|
SamplesPassed = 0x15,
|
|
TransformFeedbackOffset = 0x1a,
|
|
TessControlShaderInvocations = 0x1b,
|
|
TessEvaluationShaderInvocations = 0x1d,
|
|
TessEvaluationShaderPrimitives = 0x1f
|
|
}
|
|
} |