summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2023-01-04 16:51:08 -0800
committerPokechu22 <Pokechu022@gmail.com>2023-02-13 18:22:41 -0800
commit4f6ce51d69612ae448bcfed7b7e27fa9ace5b756 (patch)
tree43f35d1c60cb282d11aeaba6ff42d53b6de61b06 /Source/Core/Common/FileUtil.cpp
parent5f929d00eb6d24c6159ec28323100a3a81dbd7b7 (diff)
VideoCommon: Clear blend configuration if color/alpha update disabled
This works around an Intel driver bug where, on D3D12 only, dual-source blending behaves incorrectly if the second source is unused on. This bug is visible in skyboxes in Super Mario Sunshine, which first draw clouds and sun flare in greyscale and then draw the sky afterwards with a source factor of 1 and a dest factor of 1-src_color (this results in the clouds being tinted blue). This process is done on an RGB888 framebuffer, so alpha update is disabled. (Color update is enabled; note that if you look at this in Dolphin's fifo analyzer, it won't be enabled because they use the BP mask functionality to only change the blending functions and not alpha/color update, for whatever reason.)
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions