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.Shader/IGpuAccessor.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.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 cc690eed..337bd314 100644 --- a/Ryujinx.Graphics.Shader/IGpuAccessor.cs +++ b/Ryujinx.Graphics.Shader/IGpuAccessor.cs @@ -286,6 +286,15 @@ namespace Ryujinx.Graphics.Shader } /// <summary> + /// Queries host GPU support for signed normalized buffer texture formats. + /// </summary> + /// <returns>True if the GPU and driver supports the formats, false otherwise</returns> + bool QueryHostSupportsSnormBufferTextureFormat() + { + return true; + } + + /// <summary> /// Queries host GPU texture shadow LOD support. /// </summary> /// <returns>True if the GPU and driver supports texture shadow LOD, false otherwise</returns> |