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.GAL/Capabilities.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.GAL/Capabilities.cs')
-rw-r--r-- | Ryujinx.Graphics.GAL/Capabilities.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.GAL/Capabilities.cs b/Ryujinx.Graphics.GAL/Capabilities.cs index 7822da21..bc4a02c9 100644 --- a/Ryujinx.Graphics.GAL/Capabilities.cs +++ b/Ryujinx.Graphics.GAL/Capabilities.cs @@ -48,6 +48,8 @@ namespace Ryujinx.Graphics.GAL public readonly float MaximumSupportedAnisotropy; public readonly int StorageBufferOffsetAlignment; + public readonly int GatherBiasPrecision; + public Capabilities( TargetApi api, string vendorName, @@ -87,7 +89,8 @@ namespace Ryujinx.Graphics.GAL uint maximumImagesPerStage, int maximumComputeSharedMemorySize, float maximumSupportedAnisotropy, - int storageBufferOffsetAlignment) + int storageBufferOffsetAlignment, + int gatherBiasPrecision) { Api = api; VendorName = vendorName; @@ -128,6 +131,7 @@ namespace Ryujinx.Graphics.GAL MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize; MaximumSupportedAnisotropy = maximumSupportedAnisotropy; StorageBufferOffsetAlignment = storageBufferOffsetAlignment; + GatherBiasPrecision = gatherBiasPrecision; } } }
\ No newline at end of file |