Skip to content

Commit

Permalink
Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
gdkchan committed May 27, 2020
1 parent 119173f commit cb7ed94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Ryujinx.Graphics.Gpu/State/GpuState.cs
Expand Up @@ -146,7 +146,6 @@ private void InitializeDefaultState(int[] memory)
{
memory[(int)MethodOffset.ViewportExtents + index * 4 + 2] = 0;
memory[(int)MethodOffset.ViewportExtents + index * 4 + 3] = 0x3F800000;
memory[(int)MethodOffset.ViewportExtents + index * 4 + 3] = 0x3F800000;

// Set swizzle to +XYZW
memory[(int)MethodOffset.ViewportTransform + index * 8 + 6] = 0x6420;
Expand Down
2 changes: 1 addition & 1 deletion Ryujinx.Graphics.Shader/Translation/EmitterContext.cs
Expand Up @@ -63,7 +63,7 @@ public void PrepareForReturn()
{
// Here we attempt to implement viewport swizzle on the vertex shader.
// Perform permutation and negation of the output gl_Position components.
// Note that per-viewport swizzling can't be supported using thhis approach.
// Note that per-viewport swizzling can't be supported using this approach.
int swizzleX = Config.GpuAccessor.QueryViewportSwizzle(0);
int swizzleY = Config.GpuAccessor.QueryViewportSwizzle(1);
int swizzleZ = Config.GpuAccessor.QueryViewportSwizzle(2);
Expand Down

0 comments on commit cb7ed94

Please sign in to comment.