mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-29 09:10:01 -06:00
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
This commit is contained in:
@ -146,6 +146,9 @@ namespace Ryujinx.Graphics.Gpu.State
|
||||
{
|
||||
memory[(int)MethodOffset.ViewportExtents + index * 4 + 2] = 0;
|
||||
memory[(int)MethodOffset.ViewportExtents + index * 4 + 3] = 0x3F800000;
|
||||
|
||||
// Set swizzle to +XYZW
|
||||
memory[(int)MethodOffset.ViewportTransform + index * 8 + 6] = 0x6420;
|
||||
}
|
||||
|
||||
// Viewport transform enable.
|
||||
|
Reference in New Issue
Block a user