Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: use software renderer blending logic in fbfetch blend #11387

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Pokechu22
Copy link
Contributor

@Pokechu22 Pokechu22 force-pushed the test-force-fbfetch-blend-as-int branch 6 times, most recently from 68739da to 9625ae9 Compare December 28, 2022 01:41
@Pokechu22 Pokechu22 force-pushed the test-force-fbfetch-blend-as-int branch from 9625ae9 to 51f393f Compare December 28, 2022 21:02
@dolphin-emu-bot
Copy link
Contributor

FifoCI detected that this change impacts graphical rendering. Here are the behavior differences detected by the system:

  • ab11-homebrew on mvk-osx-m1: diff
  • aeon-charge-attack on mvk-osx-m1: diff
  • bk-tev on mvk-osx-m1: diff
  • burnout2-vehicletextures on mvk-osx-m1: diff
  • chibi-robo-fastdepth on mvk-osx-m1: diff
  • chibi-robo-zfighting on mvk-osx-m1: diff
  • custom-brawl-char on mvk-osx-m1: diff
  • dbz-depth on mvk-osx-m1: diff
  • djfny-menu on mvk-osx-m1: diff
  • djhero2-blend on mvk-osx-m1: diff
  • DKCR-Char on mvk-osx-m1: diff
  • DKCR-fast-depth on mvk-osx-m1: diff
  • ea-pink on mvk-osx-m1: diff
  • ed-updated on mvk-osx-m1: diff
  • et-vid on mvk-osx-m1: diff
  • find-mii on mvk-osx-m1: diff
  • fishing-resort-map on mvk-osx-m1: diff
  • fortune-street on mvk-osx-m1: diff
  • fortune-street-fog on mvk-osx-m1: diff
  • fortune-street-white-box on mvk-osx-m1: diff
  • fsa-layers on mvk-osx-m1: diff
  • f-zero-rain on mvk-osx-m1: diff
  • goldeneye-depth on mvk-osx-m1: diff
  • hb-discgolf on mvk-osx-m1: diff
  • inverted-depth-range on mvk-osx-m1: diff
  • jb-shadow on mvk-osx-m1: diff
  • jd2-fmv on mvk-osx-m1: diff
  • jj-awae-mirrored on mvk-osx-m1: diff
  • kirby-logicop on mvk-osx-m1: diff
  • kirby-shadows on mvk-osx-m1: diff
  • last-story-shadows on mvk-osx-m1: diff
  • lego-star-wars-crane-shadow on mvk-osx-m1: diff
  • lesson08 on mvk-osx-m1: diff
  • lm-mario-portrait on mvk-osx-m1: diff
  • luigi-shadows on mvk-osx-m1: diff
  • major-minor on mvk-osx-m1: diff
  • mario-baseball-shadows on mvk-osx-m1: diff
  • mario-golf-oob on mvk-osx-m1: diff
  • mario-sluggers-bar on mvk-osx-m1: diff
  • mario-tennis-menu on mvk-osx-m1: diff
  • MaS-LOG-wiimote on mvk-osx-m1: diff
  • megaman-heat on mvk-osx-m1: diff
  • melee-depth on mvk-osx-m1: diff
  • melee-lighting on mvk-osx-m1: diff
  • metroid-visor on mvk-osx-m1: diff
  • mii-channel on mvk-osx-m1: diff
  • milotic-texture on mvk-osx-m1: diff
  • mini-ninjas on mvk-osx-m1: diff
  • mkdd-babypark on mvk-osx-m1: diff
  • mkdd-efb on mvk-osx-m1: diff
  • mkw-bridge on mvk-osx-m1: diff
  • mkw-flags on mvk-osx-m1: diff
  • mkwii-bluebox on mvk-osx-m1: diff
  • mmx-light on mvk-osx-m1: diff
  • monkeyball-fuse on mvk-osx-m1: diff
  • mp2-scanner on mvk-osx-m1: diff
  • mp3-bloom on mvk-osx-m1: diff
  • mp4-vertexcache on mvk-osx-m1: diff
  • mp7-text on mvk-osx-m1: diff
  • mp8-widescreen on mvk-osx-m1: diff
  • mtennis-zfreeze on mvk-osx-m1: diff
  • my-word-coach on mvk-osx-m1: diff
  • nddemo-lighting on mvk-osx-m1: diff
  • nfsu-purplerect on mvk-osx-m1: diff
  • nfsu-reflections on mvk-osx-m1: diff
  • nhl-slap on mvk-osx-m1: diff
  • nintendo-channel on mvk-osx-m1: diff
  • nsmbw-coins on mvk-osx-m1: diff
  • nsmbw-intro on mvk-osx-m1: diff
  • pbr-sfx on mvk-osx-m1: diff
  • pm-hc-jp on mvk-osx-m1: diff
  • puzzle-collection on mvk-osx-m1: diff
  • pw-black-bars on mvk-osx-m1: diff
  • quake-gx on mvk-osx-m1: diff
  • rs2-bumpmapping on mvk-osx-m1: diff
  • rs2-glass on mvk-osx-m1: diff
  • rs2-skybox on mvk-osx-m1: diff
  • rs2-zfreeze on mvk-osx-m1: diff
  • rs3-bumpmapping on mvk-osx-m1: diff
  • rs3-skybox2 on mvk-osx-m1: diff
  • sadx-ui on mvk-osx-m1: diff
  • sfa-shadows on mvk-osx-m1: diff
  • sf-assault-flashing on mvk-osx-m1: diff
  • shadow-eyes on mvk-osx-m1: diff
  • simpsons-game on mvk-osx-m1: diff
  • smb-mirror on mvk-osx-m1: diff
  • smg2-fog on mvk-osx-m1: diff
  • smg-marioeyes on mvk-osx-m1: diff
  • smg-mmg on mvk-osx-m1: diff
  • smg-roar on mvk-osx-m1: diff
  • sms-bubbles on mvk-osx-m1: diff
  • sms-gc on mvk-osx-m1: diff
  • sms-water on mvk-osx-m1: diff
  • soa-black on mvk-osx-m1: diff
  • soniccolors-mm on mvk-osx-m1: diff
  • sonic-riders-blur on mvk-osx-m1: diff
  • sonic-riders-zg-4p on mvk-osx-m1: diff
  • sonicriderszg-gb on mvk-osx-m1: diff
  • spyro-bloom on mvk-osx-m1: diff
  • spyro-depth on mvk-osx-m1: diff
  • ssbb-mod-lloyd on mvk-osx-m1: diff
  • ssbm-pointsize on mvk-osx-m1: diff
  • ss-map on mvk-osx-m1: diff
  • super-sluggers-white-out on mvk-osx-m1: diff
  • sw3-dt on mvk-osx-m1: diff
  • thps3-earlyz on mvk-osx-m1: diff
  • thps4-shadow on mvk-osx-m1: diff
  • tla-menu on mvk-osx-m1: diff
  • tos-invis-char on mvk-osx-m1: diff
  • tp-skin on mvk-osx-m1: diff
  • tsp3-pinkgrass on mvk-osx-m1: diff
  • vegas-party-depth on mvk-osx-m1: diff
  • viewitful-joe-distortion on mvk-osx-m1: diff
  • xblade-bloom on mvk-osx-m1: diff
  • xenoblade-menu on mvk-osx-m1: diff
  • ztp-grass on mvk-osx-m1: diff
  • zww-armos on mvk-osx-m1: diff
  • zww-water on mvk-osx-m1: diff
  • zww-waves on mvk-osx-m1: diff

automated-fifoci-reporter

Pokechu22 added a commit to Pokechu22/dolphin that referenced this pull request Dec 28, 2022
This was added in dolphin-emu#10394 for both the hardware and software backends to work around an issue with Mario Kart Wii, Fortune Street, and Baten Kaitos. However, it seems like the software renderer handles blending well enough that we don't need this (and in any case, it's easy to change blending in the software renderer).

Some experimentation with dolphin-emu#11387 (not pushed) showed that the software renderer's logic would also produce correct results on the hardware backends with this hack removed, but would require fbfetch (currently); if a better solution is found the hack can also be removed from the hardware backends.
@iwubcode
Copy link
Contributor

iwubcode commented Dec 29, 2022

Tested a handful of games. Nice work!

EDIT: just was told that frame buffer fetch is only supported on very specific hardware. I had no idea! I need to read up on frame buffer fetch again.

OatmealDome pushed a commit to OatmealDome/dolphin that referenced this pull request Sep 3, 2023
This was added in dolphin-emu#10394 for both the hardware and software backends to work around an issue with Mario Kart Wii, Fortune Street, and Baten Kaitos. However, it seems like the software renderer handles blending well enough that we don't need this (and in any case, it's easy to change blending in the software renderer).

Some experimentation with dolphin-emu#11387 (not pushed) showed that the software renderer's logic would also produce correct results on the hardware backends with this hack removed, but would require fbfetch (currently); if a better solution is found the hack can also be removed from the hardware backends.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants