diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2021-08-31 06:51:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-31 02:51:57 -0300 |
| commit | 142cededd4db2ff4f83a4833580d343a4f0a8cde (patch) | |
| tree | 426e8ed20d182663a7666666c08a5566c8d204fb /Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureFlags.cs | |
| parent | 416dc8fde49f8eb42d47b1ab606028a5cabe8f90 (diff) | |
Implement Shader Instructions SUATOM and SURED (#2090)
* Initial Implementation
* Further improvements (no support for float/64-bit types)
* Merge atomic and reduce instructions, add missing format switch
* Fix rebase issues.
* Not used.
* Whoops. Fixed.
* Partial implementation of inc/dec, cleanup and TODOs
* Remove testing path
* Address Feedback
Diffstat (limited to 'Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureFlags.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureFlags.cs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureFlags.cs b/Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureFlags.cs index 5334afac..0cc938a3 100644 --- a/Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureFlags.cs +++ b/Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureFlags.cs @@ -13,6 +13,19 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation LodBias = 1 << 4, LodLevel = 1 << 5, Offset = 1 << 6, - Offsets = 1 << 7 + Offsets = 1 << 7, + + AtomicMask = 15 << 16, + + Add = 0 << 16, + Minimum = 1 << 16, + Maximum = 2 << 16, + Increment = 3 << 16, + Decrement = 4 << 16, + BitwiseAnd = 5 << 16, + BitwiseOr = 6 << 16, + BitwiseXor = 7 << 16, + Swap = 8 << 16, + CAS = 9 << 16 } }
\ No newline at end of file |
