From 851d81d24ab437bbe552a085cdd3caad6f4a1867 Mon Sep 17 00:00:00 2001
From: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com>
Date: Sat, 10 Dec 2022 15:21:13 -0500
Subject: Fix Redundant Qualifer Warnings (#4091)
* Fix Redundant Qualifer Warnings
* Remove unnecessary using
---
Ryujinx.Graphics.Gpu/Shader/ShaderSpecializationState.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'Ryujinx.Graphics.Gpu/Shader')
diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderSpecializationState.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderSpecializationState.cs
index 872aaf67..b0d77d8a 100644
--- a/Ryujinx.Graphics.Gpu/Shader/ShaderSpecializationState.cs
+++ b/Ryujinx.Graphics.Gpu/Shader/ShaderSpecializationState.cs
@@ -110,7 +110,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
///
/// Texture target.
///
- public Image.TextureTarget TextureTarget;
+ public TextureTarget TextureTarget;
///
/// Indicates if the coordinates used to sample the texture are normalized or not (0.0..1.0 or 0..Width/Height).
@@ -331,7 +331,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
int cbufSlot,
uint format,
bool formatSrgb,
- Image.TextureTarget target,
+ TextureTarget target,
bool coordNormalized)
{
Box state = GetOrCreateTextureSpecState(stageIndex, handle, cbufSlot);
@@ -415,7 +415,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
/// Shader stage where the texture is used
/// Offset in words of the texture handle on the texture buffer
/// Slot of the texture buffer constant buffer
- public Image.TextureTarget GetTextureTarget(int stageIndex, int handle, int cbufSlot)
+ public TextureTarget GetTextureTarget(int stageIndex, int handle, int cbufSlot)
{
return GetTextureSpecState(stageIndex, handle, cbufSlot).Value.TextureTarget;
}
--
cgit v1.2.3