diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-12-04 15:36:03 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 15:36:03 -0300 |
commit | 17a1cab5d29787f3b41f40a69b530dae4e3cb25f (patch) | |
tree | 25f72e40e08c851b80dea2ee2e184ddb3ba1d479 /Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs | |
parent | 73aed239c356c4c573819eb6ee1e2d414d2d5579 (diff) |
Allow SNorm buffer texture formats on Vulkan (#3957)1.1.421
* Allow SNorm buffer texture formats on Vulkan
* Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs b/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs index 9648298e..33f06b6e 100644 --- a/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs +++ b/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs @@ -134,6 +134,8 @@ namespace Ryujinx.Graphics.Gpu.Shader public bool QueryHostSupportsShaderBallot() => _context.Capabilities.SupportsShaderBallot; + public bool QueryHostSupportsSnormBufferTextureFormat() => _context.Capabilities.SupportsSnormBufferTextureFormat; + public bool QueryHostSupportsTextureShadowLod() => _context.Capabilities.SupportsTextureShadowLod; public bool QueryHostSupportsViewportIndex() => _context.Capabilities.SupportsViewportIndex; |