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

RenderingDevice: Fix uniform sets wrongly assumed to be bound #86522

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

RandomShaper
Copy link
Member

@RandomShaper RandomShaper commented Dec 26, 2023

With the former logic, the need to re-bind a uniform set at the graphics API level was determined solely on the format and the "survivavility" of the binding according to the relevant binding model. However, it was wrong in failing to realize that a uniform set that has still not been bound at the graphics API level has to be bound regardless any other consideration. EDIT: (Not to mention the check was broken whatsoever in the compute case.)

Fixes #86408.
Fixes #86400.
Fixes #86547.
Fixes #86425.

@bitsawer
Copy link
Member

Also seems to fix #86425

Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

This should be a high priority merge

@akien-mga akien-mga merged commit 07b8860 into godotengine:master Jan 2, 2024
15 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants