mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-29 15:19:48 +01:00
cb171f6ebf
Support shared color masks (used by Nouveau and maybe the NVIDIA driver). Support draw buffers (also required by OpenGL). Support viewport transform disable (disabled for now as it breaks some games). Fix instanced rendering draw being ignored for multi draw. Fix IADD and IADD3 immediate shader encodings, that was not matching some ops. Implement FFMA32I shader instruction. Implement IMAD shader instruction.
16 lines
No EOL
355 B
C#
16 lines
No EOL
355 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.Shader.StructuredIr
|
|
{
|
|
[Flags]
|
|
enum HelperFunctionsMask
|
|
{
|
|
MultiplyHighS32 = 1 << 0,
|
|
MultiplyHighU32 = 1 << 1,
|
|
Shuffle = 1 << 2,
|
|
ShuffleDown = 1 << 3,
|
|
ShuffleUp = 1 << 4,
|
|
ShuffleXor = 1 << 5,
|
|
SwizzleAdd = 1 << 6
|
|
}
|
|
} |