diff options
author | gdkchan <gab.dark.100@gmail.com> | 2020-05-27 20:03:07 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-28 09:03:07 +1000 |
commit | a15b951721d7c52c30a8e8864e91353ec6fc65f4 (patch) | |
tree | daba23b1f6a22f4c72faa5268a73029e9fc665f7 /Ryujinx.Graphics.OpenGL/Renderer.cs | |
parent | 83d94b21d077e2d31faee74711ff38e0c0499afa (diff) |
Fix wrong face culling once and for all (#1277)
* Viewport swizzle support on NV and clip origin
* Initialize default viewport swizzle state, emulate viewport swizzle on shaders when not supported
* Address PR feedback
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Renderer.cs')
-rw-r--r-- | Ryujinx.Graphics.OpenGL/Renderer.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Renderer.cs b/Ryujinx.Graphics.OpenGL/Renderer.cs index c839c296..49dba9cc 100644 --- a/Ryujinx.Graphics.OpenGL/Renderer.cs +++ b/Ryujinx.Graphics.OpenGL/Renderer.cs @@ -75,9 +75,10 @@ namespace Ryujinx.Graphics.OpenGL HwCapabilities.SupportsAstcCompression, HwCapabilities.SupportsImageLoadFormatted, HwCapabilities.SupportsNonConstantTextureOffset, + HwCapabilities.SupportsViewportSwizzle, HwCapabilities.MaximumComputeSharedMemorySize, - HwCapabilities.StorageBufferOffsetAlignment, - HwCapabilities.MaxSupportedAnisotropy); + HwCapabilities.MaximumSupportedAnisotropy, + HwCapabilities.StorageBufferOffsetAlignment); } public void SetBufferData(BufferHandle buffer, int offset, ReadOnlySpan<byte> data) |