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

Minor lighting optimization in vshader #18587

Merged
merged 1 commit into from Dec 20, 2023
Merged

Minor lighting optimization in vshader #18587

merged 1 commit into from Dec 20, 2023

Conversation

hrydgard
Copy link
Owner

Just a driveby optimization while looking for something else. Removes a max operation that's redundant due to the surrounding if statement.

@hrydgard hrydgard added the Code Cleanup Cleanup to make future work easier. Needs to be done sometimes. label Dec 20, 2023
@hrydgard hrydgard added this to the v1.17.0 milestone Dec 20, 2023
@hrydgard hrydgard merged commit e973618 into master Dec 20, 2023
18 checks passed
@hrydgard hrydgard deleted the minor-vshader-opt branch December 20, 2023 14:27
@hrydgard
Copy link
Owner Author

Ugh, this max operation isn't redundant at all, since ldot changes in between. Oops. Fix coming up.

hrydgard added a commit that referenced this pull request Dec 25, 2023
hrydgard added a commit that referenced this pull request Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Cleanup to make future work easier. Needs to be done sometimes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant