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

Make AMOUNT_RATIO constant in the shader language specification. #85086

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

clayjohn
Copy link
Member

Fixes an unreported bug I noticed while updating the shader documentation.

In current master, writing to AMOUNT_RATIO doesn't do anything and will crash the compatibility backend.

This is a very low risk PR. I suggest we merge it in the next RC so there is no perception of compatibility breakage if a user accidentally writes to AMOUNT_RATIO (in the RD renderers).

Writing to it doesn't do anything and will crash the compatibility backend.
@clayjohn clayjohn added this to the 4.2 milestone Nov 19, 2023
@clayjohn clayjohn requested a review from a team as a code owner November 19, 2023 13:54
@akien-mga akien-mga changed the title Make AMOUNT_RATIO constant in the shader language specification. Make AMOUNT_RATIO constant in the shader language specification. Nov 19, 2023
@akien-mga akien-mga merged commit ac29e8e into godotengine:master Nov 20, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@clayjohn clayjohn deleted the shaders-amount-ratio branch November 21, 2023 20:00
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.

4 participants