diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2019-12-29 14:41:50 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 654e617fe78b0f5cc86d0bcf0625301abff168f5 (patch) | |
| tree | 01f2eba89039698bec583a3e29c4c50d0e20b8d1 /Ryujinx.Graphics.GAL/Sampler | |
| parent | af8498d6790ba83f1cf87eccf5f272f2ccbeb169 (diff) | |
Some code cleanup
Diffstat (limited to 'Ryujinx.Graphics.GAL/Sampler')
| -rw-r--r-- | Ryujinx.Graphics.GAL/Sampler/AddressMode.cs | 14 | ||||
| -rw-r--r-- | Ryujinx.Graphics.GAL/Sampler/CompareMode.cs | 8 | ||||
| -rw-r--r-- | Ryujinx.Graphics.GAL/Sampler/MagFilter.cs | 8 | ||||
| -rw-r--r-- | Ryujinx.Graphics.GAL/Sampler/MinFilter.cs | 12 | ||||
| -rw-r--r-- | Ryujinx.Graphics.GAL/Sampler/SamplerCreateInfo.cs | 52 |
5 files changed, 0 insertions, 94 deletions
diff --git a/Ryujinx.Graphics.GAL/Sampler/AddressMode.cs b/Ryujinx.Graphics.GAL/Sampler/AddressMode.cs deleted file mode 100644 index 4f56d892..00000000 --- a/Ryujinx.Graphics.GAL/Sampler/AddressMode.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Ryujinx.Graphics.GAL.Sampler -{ - public enum AddressMode - { - Repeat, - MirroredRepeat, - ClampToEdge, - ClampToBorder, - Clamp, - MirrorClampToEdge, - MirrorClampToBorder, - MirrorClamp - } -}
\ No newline at end of file diff --git a/Ryujinx.Graphics.GAL/Sampler/CompareMode.cs b/Ryujinx.Graphics.GAL/Sampler/CompareMode.cs deleted file mode 100644 index ca4b09a0..00000000 --- a/Ryujinx.Graphics.GAL/Sampler/CompareMode.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Ryujinx.Graphics.GAL.Sampler -{ - public enum CompareMode - { - None, - CompareRToTexture - } -}
\ No newline at end of file diff --git a/Ryujinx.Graphics.GAL/Sampler/MagFilter.cs b/Ryujinx.Graphics.GAL/Sampler/MagFilter.cs deleted file mode 100644 index 3c9c9de6..00000000 --- a/Ryujinx.Graphics.GAL/Sampler/MagFilter.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Ryujinx.Graphics.GAL.Sampler -{ - public enum MagFilter - { - Nearest = 1, - Linear - } -}
\ No newline at end of file diff --git a/Ryujinx.Graphics.GAL/Sampler/MinFilter.cs b/Ryujinx.Graphics.GAL/Sampler/MinFilter.cs deleted file mode 100644 index d012f695..00000000 --- a/Ryujinx.Graphics.GAL/Sampler/MinFilter.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Ryujinx.Graphics.GAL.Sampler -{ - public enum MinFilter - { - Nearest = 1, - Linear, - NearestMipmapNearest, - LinearMipmapNearest, - NearestMipmapLinear, - LinearMipmapLinear - } -}
\ No newline at end of file diff --git a/Ryujinx.Graphics.GAL/Sampler/SamplerCreateInfo.cs b/Ryujinx.Graphics.GAL/Sampler/SamplerCreateInfo.cs deleted file mode 100644 index 3f42742b..00000000 --- a/Ryujinx.Graphics.GAL/Sampler/SamplerCreateInfo.cs +++ /dev/null @@ -1,52 +0,0 @@ -using Ryujinx.Graphics.GAL.Color; - -namespace Ryujinx.Graphics.GAL.Sampler -{ - public struct SamplerCreateInfo - { - public MinFilter MinFilter { get; } - public MagFilter MagFilter { get; } - - public AddressMode AddressU { get; } - public AddressMode AddressV { get; } - public AddressMode AddressP { get; } - - public CompareMode CompareMode { get; } - public CompareOp CompareOp { get; } - - public ColorF BorderColor { get; } - - public float MinLod { get; } - public float MaxLod { get; } - public float MipLodBias { get; } - public float MaxAnisotropy { get; } - - public SamplerCreateInfo( - MinFilter minFilter, - MagFilter magFilter, - AddressMode addressU, - AddressMode addressV, - AddressMode addressP, - CompareMode compareMode, - CompareOp compareOp, - ColorF borderColor, - float minLod, - float maxLod, - float mipLodBias, - float maxAnisotropy) - { - MinFilter = minFilter; - MagFilter = magFilter; - AddressU = addressU; - AddressV = addressV; - AddressP = addressP; - CompareMode = compareMode; - CompareOp = compareOp; - BorderColor = borderColor; - MinLod = minLod; - MaxLod = maxLod; - MipLodBias = mipLodBias; - MaxAnisotropy = maxAnisotropy; - } - } -}
\ No newline at end of file |
