diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2023-06-08 17:43:16 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-08 17:43:16 -0300 |
| commit | 2cdcfe46d8959b0cbd8aea3b4439b30a55d47f00 (patch) | |
| tree | 8f493b6e52e0e30997e7575dc55835d5f645943e /src/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs | |
| parent | fe30c03cac9d1f09270a4156aceab273dbac81fb (diff) | |
Remove barrier on Intel if control flow is potentially divergent (#5044)
* Remove barrier on Intel if control flow is potentially divergent
* Shader cache version bump
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs')
| -rw-r--r-- | src/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs b/src/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs index a60564e0..57e79ac7 100644 --- a/src/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs +++ b/src/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs @@ -141,6 +141,8 @@ namespace Ryujinx.Graphics.Gpu.Shader public bool QueryHostSupportsShaderBallot() => _context.Capabilities.SupportsShaderBallot; + public bool QueryHostSupportsShaderBarrierDivergence() => _context.Capabilities.SupportsShaderBarrierDivergence; + public bool QueryHostSupportsShaderFloat64() => _context.Capabilities.SupportsShaderFloat64; public bool QueryHostSupportsSnormBufferTextureFormat() => _context.Capabilities.SupportsSnormBufferTextureFormat; |
