diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Shader/TextureDescriptorCapableGpuAccessor.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/TextureDescriptorCapableGpuAccessor.cs b/Ryujinx.Graphics.Gpu/Shader/TextureDescriptorCapableGpuAccessor.cs index 50039a90..3a8ee67a 100644 --- a/Ryujinx.Graphics.Gpu/Shader/TextureDescriptorCapableGpuAccessor.cs +++ b/Ryujinx.Graphics.Gpu/Shader/TextureDescriptorCapableGpuAccessor.cs @@ -37,6 +37,12 @@ namespace Ryujinx.Graphics.Gpu.Shader public int QueryHostStorageBufferOffsetAlignment() => _context.Capabilities.StorageBufferOffsetAlignment; /// <summary> + /// Queries host support for texture formats with BGRA component order (such as BGRA8). + /// </summary> + /// <returns>True if BGRA formats are supported, false otherwise</returns> + public bool QueryHostSupportsBgraFormat() => _context.Capabilities.SupportsBgraFormat; + + /// <summary> /// Queries host support for fragment shader ordering critical sections on the shader code. /// </summary> /// <returns>True if fragment shader interlock is supported, false otherwise</returns> |
