Compare commits
3 Commits
master
...
android-14
Author | SHA1 | Date | |
---|---|---|---|
1d3c18f139 | |||
08e54b81c3 | |||
1bc96dd445 |
10
README.md
10
README.md
@ -1,3 +1,13 @@
|
|||||||
|
| Pull Request | Commit | Title | Author | Merged? |
|
||||||
|
|----|----|----|----|----|
|
||||||
|
| [12235](https://github.com/yuzu-emu/yuzu//pull/12235) | [`e7dd968ac`](https://github.com/yuzu-emu/yuzu//pull/12235/files) | renderer_vulkan: adjust window origin and swizzle independently | [liamwhite](https://github.com/liamwhite/) | Yes |
|
||||||
|
| [12256](https://github.com/yuzu-emu/yuzu//pull/12256) | [`d74dd4faf`](https://github.com/yuzu-emu/yuzu//pull/12256/files) | vk_blit_screen: Use correct format for fxaa renderpass | [GPUCode](https://github.com/GPUCode/) | Yes |
|
||||||
|
|
||||||
|
|
||||||
|
End of merge log. You can find the original README.md below the break.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
SPDX-FileCopyrightText: 2018 yuzu Emulator Project
|
SPDX-FileCopyrightText: 2018 yuzu Emulator Project
|
||||||
SPDX-License-Identifier: GPL-2.0-or-later
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
@ -1211,7 +1211,7 @@ void BlitScreen::CreateRawImages(const Tegra::FramebufferConfig& framebuffer) {
|
|||||||
aa_framebuffer = CreateFramebuffer(*aa_image_view, size, aa_renderpass);
|
aa_framebuffer = CreateFramebuffer(*aa_image_view, size, aa_renderpass);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
aa_renderpass = CreateRenderPassImpl(GetFormat(framebuffer));
|
aa_renderpass = CreateRenderPassImpl(VK_FORMAT_R16G16B16A16_SFLOAT);
|
||||||
aa_framebuffer = CreateFramebuffer(*aa_image_view, size, aa_renderpass);
|
aa_framebuffer = CreateFramebuffer(*aa_image_view, size, aa_renderpass);
|
||||||
|
|
||||||
const std::array<VkPipelineShaderStageCreateInfo, 2> fxaa_shader_stages{{
|
const std::array<VkPipelineShaderStageCreateInfo, 2> fxaa_shader_stages{{
|
||||||
|
@ -75,14 +75,20 @@ VkViewport GetViewportState(const Device& device, const Maxwell& regs, size_t in
|
|||||||
const float width = conv(src.scale_x * 2.0f);
|
const float width = conv(src.scale_x * 2.0f);
|
||||||
float y = conv(src.translate_y - src.scale_y);
|
float y = conv(src.translate_y - src.scale_y);
|
||||||
float height = conv(src.scale_y * 2.0f);
|
float height = conv(src.scale_y * 2.0f);
|
||||||
bool y_negate = regs.window_origin.mode != Maxwell::WindowOrigin::Mode::UpperLeft;
|
|
||||||
|
|
||||||
if (!device.IsNvViewportSwizzleSupported()) {
|
const bool lower_left = regs.window_origin.mode != Maxwell::WindowOrigin::Mode::UpperLeft;
|
||||||
y_negate = y_negate != (src.swizzle.y == Maxwell::ViewportSwizzle::NegativeY);
|
const bool y_negate = !device.IsNvViewportSwizzleSupported() &&
|
||||||
|
src.swizzle.y == Maxwell::ViewportSwizzle::NegativeY;
|
||||||
|
|
||||||
|
if (lower_left) {
|
||||||
|
// Flip by surface clip height
|
||||||
|
y += conv(static_cast<f32>(regs.surface_clip.height));
|
||||||
|
height = -height;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (y_negate) {
|
if (y_negate) {
|
||||||
y += conv(static_cast<f32>(regs.surface_clip.height));
|
// Flip by viewport height
|
||||||
|
y += height;
|
||||||
height = -height;
|
height = -height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user