aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/IGpuAccessor.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-06-08 17:43:16 -0300
committerGitHub <noreply@github.com>2023-06-08 17:43:16 -0300
commit2cdcfe46d8959b0cbd8aea3b4439b30a55d47f00 (patch)
tree8f493b6e52e0e30997e7575dc55835d5f645943e /src/Ryujinx.Graphics.Shader/IGpuAccessor.cs
parentfe30c03cac9d1f09270a4156aceab273dbac81fb (diff)
Remove barrier on Intel if control flow is potentially divergent (#5044)1.1.871
* Remove barrier on Intel if control flow is potentially divergent * Shader cache version bump
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/IGpuAccessor.cs')
-rw-r--r--src/Ryujinx.Graphics.Shader/IGpuAccessor.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Shader/IGpuAccessor.cs b/src/Ryujinx.Graphics.Shader/IGpuAccessor.cs
index d4f99e11..d3794cdd 100644
--- a/src/Ryujinx.Graphics.Shader/IGpuAccessor.cs
+++ b/src/Ryujinx.Graphics.Shader/IGpuAccessor.cs
@@ -332,6 +332,15 @@ namespace Ryujinx.Graphics.Shader
}
/// <summary>
+ /// Queries host GPU shader support for barrier instructions on divergent control flow paths.
+ /// </summary>
+ /// <returns>True if the GPU supports barriers on divergent control flow paths, false otherwise</returns>
+ bool QueryHostSupportsShaderBarrierDivergence()
+ {
+ return true;
+ }
+
+ /// <summary>
/// Queries host GPU support for 64-bit floating point (double precision) operations on the shader.
/// </summary>
/// <returns>True if the GPU and driver supports double operations, false otherwise</returns>