mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07:00
d512ce122c
* Initial tessellation shader support * Nits * Re-arrange built-in table * This is not needed anymore * PR feedback
23 lines
502 B
C#
23 lines
502 B
C#
namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
|
|
{
|
|
enum OperandType
|
|
{
|
|
Argument,
|
|
Attribute,
|
|
AttributePerPatch,
|
|
Constant,
|
|
ConstantBuffer,
|
|
Label,
|
|
LocalVariable,
|
|
Register,
|
|
Undefined
|
|
}
|
|
|
|
static class OperandTypeExtensions
|
|
{
|
|
public static bool IsAttribute(this OperandType type)
|
|
{
|
|
return type == OperandType.Attribute || type == OperandType.AttributePerPatch;
|
|
}
|
|
}
|
|
} |