diff options
Diffstat (limited to 'Ryujinx.Graphics.Shader/IGpuAccessor.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/IGpuAccessor.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/IGpuAccessor.cs b/Ryujinx.Graphics.Shader/IGpuAccessor.cs index 337bd314..55df8dc3 100644 --- a/Ryujinx.Graphics.Shader/IGpuAccessor.cs +++ b/Ryujinx.Graphics.Shader/IGpuAccessor.cs @@ -115,6 +115,16 @@ namespace Ryujinx.Graphics.Shader } /// <summary> + /// Queries output type for fragment shaders. + /// </summary> + /// <param name="location">Location of the framgent output</param> + /// <returns>Output location</returns> + AttributeType QueryFragmentOutputType(int location) + { + return AttributeType.Float; + } + + /// <summary> /// Queries Local Size X for compute shaders. /// </summary> /// <returns>Local Size X</returns> @@ -187,6 +197,15 @@ namespace Ryujinx.Graphics.Shader } /// <summary> + /// Queries host about whether to reduce precision to improve performance. + /// </summary> + /// <returns>True if precision is limited to vertex position, false otherwise</returns> + bool QueryHostReducedPrecision() + { + return false; + } + + /// <summary> /// Queries host about the presence of the FrontFacing built-in variable bug. /// </summary> /// <returns>True if the bug is present on the host device used, false otherwise</returns> |