Browse Source
renderer_vulkan: render on bottom of surface clip when flipped (#11894)
pull/15/merge
liamwhite
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/video_core/renderer_vulkan/vk_rasterizer.cpp
|
|
|
@ -82,7 +82,7 @@ VkViewport GetViewportState(const Device& device, const Maxwell& regs, size_t in |
|
|
|
} |
|
|
|
|
|
|
|
if (y_negate) { |
|
|
|
y += height; |
|
|
|
y += conv(static_cast<f32>(regs.surface_clip.height)); |
|
|
|
height = -height; |
|
|
|
} |
|
|
|
|
|
|
|
|