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

VideoCommon: Fix bounding box on AMD/OpenGL/Windows #9764

Merged
merged 1 commit into from Jun 1, 2021

Conversation

Pokechu22
Copy link
Contributor

At least on my (old) AMD device, bounding box does not work on OpenGL; using an int4 works, while using 4 ints (either as an array or 4 separate fields) does not work. The Metal shader compiler does not work with int4, though, so both variants need to be supported.

I don't know if this is an issue on newer AMD devices as well.

See also #9762.

@Techjar
Copy link
Contributor

Techjar commented May 29, 2021

I don't think this is worth the mess. We don't even know if this bug still affects the latest drivers. This has since been confirmed.

Co-authored-by: Techjar <tecknojar@gmail.com>
@Pokechu22 Pokechu22 changed the title VideoCommon: Fix bounding box on AMD/OpenGL VideoCommon: Fix bounding box on AMD/OpenGL/Windows May 31, 2021
@JMC47
Copy link
Contributor

JMC47 commented May 31, 2021

Confirmed on discord that the bugs affect the latest drivers.

@Pokechu22 Pokechu22 marked this pull request as ready for review May 31, 2021 23:39
@JMC47
Copy link
Contributor

JMC47 commented Jun 1, 2021

The situation is that a lot of our AMD users on Windows use OpenGL still. Yes, AMD's Windows drivers are pretty slow for OpenGL, but it is still playable enough for a lot of users that they use it. OpenGL also has our most accurate depth emulation which is sometimes necessary for games, but I'm not sure if that comes into play for Paper Mario.

I think we should try to avoid the crash. This is a fairly innocuous hack that can be reverted if they fix the bug. It doesn't affect performance on other drivers/devices.

@JMC47 JMC47 merged commit a128655 into dolphin-emu:master Jun 1, 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
4 participants