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

Software: Remove texinfo.sourcerow == SourceRow::Colors assert #9832

Merged
merged 1 commit into from Jun 23, 2021

Conversation

Pokechu22
Copy link
Contributor

@Pokechu22 Pokechu22 commented Jun 21, 2021

The sourcerow asserts were removed for the hardware renderer in #3684, which was hardware tested. Currently ssbm-mod-lloyd fails the texinfo.sourcerow == SourceRow::Colors assertion (sourcerow is set to Tex1).

There never was an equivalent for the input form asserts in the hardware renderer (I looked at VertexShaderGen as of 9b16c36 and it didn't exist then). As far as I can tell, nothing hits them (including the Lloyd test), but it does seem suspicious that the z-component is set to 1.0f with the assumption that AB11 is used. I've left the assert since there's a chance that some game uses it, but I haven't hardware tested it myself and don't currently plan on doing so.

Even with the assert fixed, the Lloyd test looks incorrect, see bug 9268. Lloyd is too bright, but also, Sonic looks incorrect. The Lloyd appearance issue applies to the hardware renderer too, but the Sonic one is unique to software and I don't know why it's happening. I think it's still useful to merge this so that the Lloyd test actually runs on fifo.ci because the failed assert currently blocks that.

EDIT: The sonic appearance problem is not related to the assertion in question; the affected objects are 421/422 (counting EFBs separately, they will be 425/426) and are parts of LLoyd's face (I think).

These asserts were removed for the hardware renderer in dolphin-emu#3684.
@dolphin-emu-bot
Copy link
Contributor

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

  • ssbb-mod-lloyd on sw-lin-mesa: diff

automated-fifoci-reporter

@JMC47 JMC47 merged commit 63c028c into dolphin-emu:master Jun 23, 2021
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants