diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-05-27 06:00:21 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-27 11:00:21 +0200 |
| commit | 0b6d206daad7202d4e271118b631feb7dd363bbc (patch) | |
| tree | 61f5e40728fb77eb2ea4628cb4b94caef86b4a0a /Ryujinx.Graphics.Gpu | |
| parent | b663cd22c87f13f40e1753bf22bef12d08bf6f3e (diff) | |
Omit image format if possible, and fix BA bit (#1280)
* Omit image format if possible, and fix BA bit
* Match extension name
Diffstat (limited to 'Ryujinx.Graphics.Gpu')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs b/Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs index 7dc175e1..76b06ea5 100644 --- a/Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs +++ b/Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs @@ -176,6 +176,12 @@ namespace Ryujinx.Graphics.Gpu.Shader public int QueryStorageBufferOffsetAlignment() => _context.Capabilities.StorageBufferOffsetAlignment; /// <summary> + /// Queries host support for readable images without a explicit format declaration on the shader. + /// </summary> + /// <returns>True if formatted image load is supported, false otherwise</returns> + public bool QuerySupportsImageLoadFormatted() => _context.Capabilities.SupportsImageLoadFormatted; + + /// <summary> /// Queries host GPU non-constant texture offset support. /// </summary> /// <returns>True if the GPU and driver supports non-constant texture offsets, false otherwise</returns> |
