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

Fix GLSL compilation issues on really old Adreno drivers. #16365

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Nov 8, 2022

They don't seem to accept unsigned integers as switch cases.

Fixes some stuff in #16295 , not sure if all of it.

They don't seem to accept unsigned integers as switch cases.

Fixes some stuff in #16295 , not sure if all of it.
@hrydgard hrydgard added OpenGL Confirmed Driver Bug Driver bug, so questionable to put in too much effort. Adreno GPU labels Nov 8, 2022
@hrydgard hrydgard added this to the v1.14.0 milestone Nov 8, 2022
@hrydgard hrydgard merged commit 818849c into master Nov 8, 2022
@hrydgard hrydgard deleted the hardware-transform-adreno-fix branch November 8, 2022 22:21
@ghost
Copy link

ghost commented Nov 9, 2022

Yes this fixes #16295
Screenshot_20221109_125911

@ghost
Copy link

ghost commented Nov 9, 2022

But not this #16295 (comment)
might be a separate issue.

@unknownbrackets
Copy link
Collaborator

Do you get any shader compilation error for that one?

-[Unknown]

@ghost
Copy link

ghost commented Nov 9, 2022

Do you get any shader compilation error for that one?

-[Unknown]

Nope

@ghost
Copy link

ghost commented Nov 9, 2022

This is how to reproduce the issue
https://drive.google.com/file/d/1-7VhP0kEpwoYNR4VJNSkYtDwuoL5GK6K/view?usp=drivesdk

Both happen in opengl/vulkan mali 450 gpu, adreno 306 and 505

@hrydgard
Copy link
Owner Author

hrydgard commented Nov 9, 2022

Oh, I think that's a result of removing some fallback code we had, in #16347. Should be an easy fix (force software skinning when hardware transform is disabled).

hrydgard added a commit that referenced this pull request Nov 9, 2022
… both off.

Introduced in #16347 I believe, reported in comments to #16365.
@unknownbrackets
Copy link
Collaborator

Oops, my mistake - #16369 should handle the cases of fallback.

-[Unknown]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Adreno GPU Confirmed Driver Bug Driver bug, so questionable to put in too much effort. OpenGL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants