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

Do not output ViewportIndex on SPIR-V if GPU does not support it #3644

Merged
merged 2 commits into from Sep 10, 2022

Conversation

gdkchan
Copy link
Member

@gdkchan gdkchan commented Aug 30, 2022

This change remove SPIR-V ViewportIndex outputs if the GPU does not support it, in an attempt to support older GPUs. Nothing should change for OpenGL as it does not currently output gl_ViewportIndex in GLSL.

Testing is welcome, it should not affect newer GPUs (for NVIDIA, it should not affect Maxwell 2nd gen and newer).

@gdkchan gdkchan added gpu Related to Ryujinx.Graphics fix Fix something labels Aug 30, 2022
@Wfree86
Copy link

Wfree86 commented Aug 30, 2022

@gdkchan Well it looks like you've done it.

Ryujinx_1.1.0+03839f6_2022-08-30_00-32-55.log

Obviously performance work needs to happen, but it's playable now. Can't wait to see this merged!

@marysaka marysaka enabled auto-merge (squash) September 10, 2022 12:44
@marysaka marysaka merged commit 619ac86 into Ryujinx:master Sep 10, 2022
@gdkchan gdkchan deleted the spv-viewport-index branch September 10, 2022 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fix something gpu Related to Ryujinx.Graphics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants