From 0b6d206daad7202d4e271118b631feb7dd363bbc Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 27 May 2020 06:00:21 -0300 Subject: Omit image format if possible, and fix BA bit (#1280) * Omit image format if possible, and fix BA bit * Match extension name --- Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Ryujinx.Graphics.Gpu/Shader') 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 @@ -175,6 +175,12 @@ namespace Ryujinx.Graphics.Gpu.Shader /// Host storage buffer alignment in bytes public int QueryStorageBufferOffsetAlignment() => _context.Capabilities.StorageBufferOffsetAlignment; + /// + /// Queries host support for readable images without a explicit format declaration on the shader. + /// + /// True if formatted image load is supported, false otherwise + public bool QuerySupportsImageLoadFormatted() => _context.Capabilities.SupportsImageLoadFormatted; + /// /// Queries host GPU non-constant texture offset support. /// -- cgit v1.2.3