diff options
author | riperiperi <rhy3756547@hotmail.com> | 2023-04-22 22:02:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 18:02:39 -0300 |
commit | 8d9d508dc78eb5225c99cb425fa484999f3c4305 (patch) | |
tree | b32f3add1757eb247277f0b6cdd3b655ecfd736e /Ryujinx.Graphics.Shader/IGpuAccessor.cs | |
parent | e27f5522e20ce0d84532a01b36222fe425ccd9ce (diff) |
Shader: Bias textureGather instructions on AMD/Intel (#4703)1.1.726
* Experimental (GLSL, forced)
* SPIR-V attempt
* Add capability
* Fix pCount == 1 on glsl
* Fix typo
Diffstat (limited to 'Ryujinx.Graphics.Shader/IGpuAccessor.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/IGpuAccessor.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/IGpuAccessor.cs b/Ryujinx.Graphics.Shader/IGpuAccessor.cs index ba5f2a92..bc5e67c3 100644 --- a/Ryujinx.Graphics.Shader/IGpuAccessor.cs +++ b/Ryujinx.Graphics.Shader/IGpuAccessor.cs @@ -197,6 +197,15 @@ namespace Ryujinx.Graphics.Shader } /// <summary> + /// Queries host's gather operation precision bits for biasing their coordinates. Zero means no bias. + /// </summary> + /// <returns>Bits of gather operation precision to use for coordinate bias</returns> + int QueryHostGatherBiasPrecision() + { + return 0; + } + + /// <summary> /// Queries host about whether to reduce precision to improve performance. /// </summary> /// <returns>True if precision is limited to vertex position, false otherwise</returns> |