aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/State/BufferSwizzleComponent.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-01-12 18:50:54 -0300
committerGitHub <noreply@github.com>2021-01-13 08:50:54 +1100
commitdf820a72def62319fe97236a2006c64bfb7c065a (patch)
tree0e5d2c4f278548245e828e67194ff03d04532ce3 /Ryujinx.Graphics.Gpu/State/BufferSwizzleComponent.cs
parent68f6b79fd3f06ea572d5f0edd5fc8cbaee1ae449 (diff)
Implement clear buffer (fast path) (#1902)
* Implement clear buffer (fast path) * Remove blank line
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State/BufferSwizzleComponent.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/State/BufferSwizzleComponent.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/State/BufferSwizzleComponent.cs b/Ryujinx.Graphics.Gpu/State/BufferSwizzleComponent.cs
new file mode 100644
index 00000000..5c23cb2d
--- /dev/null
+++ b/Ryujinx.Graphics.Gpu/State/BufferSwizzleComponent.cs
@@ -0,0 +1,16 @@
+namespace Ryujinx.Graphics.Gpu.State
+{
+ /// <summary>
+ /// Buffer swizzle component.
+ /// </summary>
+ enum BufferSwizzleComponent
+ {
+ SrcX,
+ SrcY,
+ SrcZ,
+ SrcW,
+ ConstA,
+ ConstB,
+ NoWrite
+ }
+}