aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Format.cs
AgeCommit message (Collapse)Author
2021-08-20Swap BGR components for 16-bit BGR texture formats (#2567)gdkchan
2021-02-08Implement ETC2 (RGB) texture format (#2000)gdkchan
* Implement ETC2 format * Fix component counts for compressed formats
2021-01-05gpu: Implement missing texture formats (#1867)Ac_K
* gpu: Implement Etc2Rgba texture format * Add more format * Fix wrong pixel format
2020-11-01Support 3D BC4 and BC5 compressed textures (#1655)gdkchan
* Support 3D BC4 and BC5 compressed textures * PR feedback * Fix some typos
2020-09-11Allow swizzles to match with "undefined" components (#1538)riperiperi
* Add swizzle matching rules. Improves rules which try to match incompatible formats as perfect, such as D32 float -> R32 float. Remove Format.HasOneComponent, since this information is now available via the FormatInfo struct. * Fix this rule. * Update component counts for depth formats.
2020-07-26Implement BGRA texture support (#1418)gdkchan
* Implement BGRA texture support * Missing AppendLine * Remove empty lines * Address PR feedback
2020-07-07Implement Zero-Configuration Resolution Scaling (#1365)riperiperi
* Initial implementation of Render Target Scaling Works with most games I have. No GUI option right now, it is hardcoded. Missing handling for texelFetch operation. * Realtime Configuration, refactoring. * texelFetch scaling on fragment shader (WIP) * Improve Shader-Side changes. * Fix potential crash when no color/depth bound * Workaround random uses of textures in compute. This was blacklisting textures in a few games despite causing no bugs. Will eventually add full support so this doesn't break anything. * Fix scales oscillating when changing between non-native scales. * Scaled textures on compute, cleanup, lazier uniform update. * Cleanup. * Fix stupidity * Address Thog Feedback. * Cover most of GDK's feedback (two comments remain) * Fix bad rename * Move IsDepthStencil to FormatExtensions, add docs. * Fix default config, square texture detection. * Three final fixes: - Nearest copy when texture is integer format. - Texture2D -> Texture3D copy correctly blacklists the texture before trying an unscaled copy (caused driver error) - Discount small textures. * Remove scale threshold. Not needed right now - we'll see if we run into problems. * All CPU modification blacklists scale. * Fix comment.
2020-01-09Fix BC6 Signed/Unsigned float texture formatsgdk
2020-01-09Initial workgdk