Merge pull request #12256 from GPUCode/fxaa

vk_blit_screen: Use correct format for fxaa renderpass
This commit is contained in:
liamwhite 2023-12-02 09:28:18 -05:00 committed by GitHub
commit 82ac3003a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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{{