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

Properly rename INSTANCE_ID and VERTEX_ID in canvas item shaders in the compatibility backend #84585

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

clayjohn
Copy link
Member

@clayjohn clayjohn commented Nov 7, 2023

This seems to be unreported.

If a user tried to use INSTANCE_ID or VERTEX_ID from a CanvasItem shader the shader would fail to compile without an error in the shader editor. They would get the huge OpenGL error printed out to console though.

@clayjohn clayjohn added this to the 4.2 milestone Nov 7, 2023
@clayjohn clayjohn requested a review from a team as a code owner November 7, 2023 17:01
@akien-mga akien-mga merged commit 2cfb5ff into godotengine:master Nov 8, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga akien-mga changed the title Properly rename INSTANCE_ID and VERTEX_ID in canvas item shaders in the compatibility backend Properly rename INSTANCE_ID and VERTEX_ID in canvas item shaders in the compatibility backend Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants